ci: Fix environment variable IDF_CI_BUILD is not set

This commit is contained in:
KonstantinKondrashov
2022-11-05 15:46:13 +08:00
parent 48e2f381d4
commit 1a9ca94ac6
7 changed files with 11 additions and 9 deletions

View File

@@ -180,7 +180,7 @@ FORCE_INLINE_ATTR TYPE& operator<<=(TYPE& a, int b) { a = a << b; return a; }
/* Use IDF_DEPRECATED attribute to mark anything deprecated from use in
ESP-IDF's own source code, but not deprecated for external users.
*/
#ifdef IDF_CI_BUILD
#ifdef CONFIG_IDF_CI_BUILD
#define IDF_DEPRECATED(REASON) __attribute__((deprecated(REASON)))
#else
#define IDF_DEPRECATED(REASON)