File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 3434 #define NTP_USE_RANDOM_PORT (1)
3535#endif
3636
37+ // include directives must be ordered in such a way that this always comes first,
38+ // otherwise the log level will be incorrectly set
39+ #ifndef DEBUG_LEVEL
40+ #define DEBUG_LEVEL DEBUG_LEVEL_INFO
41+ #endif // DEBUG_LEVEL
42+
3743#if defined __has_include
3844 #if !__has_include (< Arduino_DebugUtils .h > )
3945 #define DEBUG_ERROR (void) 0
4046 #define DEBUG_WARNING (void) 0
4147 #define DEBUG_INFO (void) 0
4248 #define DEBUG_DEBUG (void) 0
4349 #define DEBUG_VERBOSE (void) 0
50+ #else
51+ #include <Arduino_DebugUtils.h>
4452 #endif
4553#endif
4654
47- // include directives must be ordered in such a way that this always comes first,
48- // otherwise the log level will be incorrectly set
49- #ifndef DEBUG_LEVEL
50- #define DEBUG_LEVEL DEBUG_LEVEL_INFO
51- #endif // DEBUG_LEVEL
52- #include <Arduino_DebugUtils.h>
55+
56+
5357
5458/******************************************************************************
5559 * AUTOMATICALLY CONFIGURED DEFINES
You can’t perform that action at this time.
0 commit comments