File tree 2 files changed +14
-14
lines changed
2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 30
30
#define NTP_USE_RANDOM_PORT (1)
31
31
#endif
32
32
33
- #if defined(ARDUINO_AVR_UNO_WIFI_REV2 )
34
- /* Provide defines for constants provided within Arduino_DebugUtils
35
- * in order to allow older sketches using those constants to still
36
- * compile.
37
- */
38
- # define DBG_NONE -1
39
- # define DBG_ERROR 0
40
- # define DBG_WARNING 1
41
- # define DBG_INFO 2
42
- # define DBG_DEBUG 3
43
- # define DBG_VERBOSE 4
44
- #endif
45
-
46
33
#ifndef DEBUG_ERROR
47
34
# if defined(ARDUINO_AVR_UNO_WIFI_REV2 )
48
35
# define DEBUG_ERROR (fmt , ...)
83
70
# endif
84
71
#endif
85
72
73
+ #if defined(ARDUINO_AVR_UNO_WIFI_REV2 ) && !(defined(DEBUG_ERROR ) || defined(DEBUG_WARNING ) || defined(DEBUG_INFO ) || defined(DEBUG_DEBUG ) || defined(DEBUG_VERBOSE ))
74
+ /* Provide defines for constants provided within Arduino_DebugUtils
75
+ * in order to allow older sketches using those constants to still
76
+ * compile.
77
+ */
78
+ # define DBG_NONE -1
79
+ # define DBG_ERROR 0
80
+ # define DBG_WARNING 1
81
+ # define DBG_INFO 2
82
+ # define DBG_DEBUG 3
83
+ # define DBG_VERBOSE 4
84
+ #endif
85
+
86
86
/******************************************************************************
87
87
* AUTOMATICALLY CONFIGURED DEFINES
88
88
******************************************************************************/
Original file line number Diff line number Diff line change 26
26
27
27
#include < Arduino_ConnectionHandler.h>
28
28
29
- #if ! defined(__AVR__ )
29
+ #if defined(DEBUG_ERROR) || defined(DEBUG_WARNING) || defined(DEBUG_INFO) || defined(DEBUG_DEBUG) || defined(DEBUG_VERBOSE )
30
30
# include < Arduino_DebugUtils.h>
31
31
#endif
32
32
You can’t perform that action at this time.
0 commit comments