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 34
34
#define NTP_USE_RANDOM_PORT (1)
35
35
#endif
36
36
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
+
37
43
#if defined __has_include
38
44
#if !__has_include (< Arduino_DebugUtils .h > )
39
45
#define DEBUG_ERROR (void) 0
40
46
#define DEBUG_WARNING (void) 0
41
47
#define DEBUG_INFO (void) 0
42
48
#define DEBUG_DEBUG (void) 0
43
49
#define DEBUG_VERBOSE (void) 0
50
+ #else
51
+ #include <Arduino_DebugUtils.h>
44
52
#endif
45
53
#endif
46
54
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
+
53
57
54
58
/******************************************************************************
55
59
* AUTOMATICALLY CONFIGURED DEFINES
You can’t perform that action at this time.
0 commit comments