File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change 31
31
#endif
32
32
33
33
#if defined(ARDUINO_AVR_UNO_WIFI_REV2 )
34
- #define DEBUG_ERROR
35
- #define DEBUG_WARNING
36
- #define DEBUG_INFO
37
- #define DEBUG_DEBUG
38
- #define DEBUG_VERBOSE
34
+ /* Define debug macros which effectively removes them from the
35
+ * the codebase for Arduino Uno WiFi. Rev. 2.
36
+ */
37
+ # define DEBUG_ERROR
38
+ # define DEBUG_WARNING
39
+ # define DEBUG_INFO
40
+ # define DEBUG_DEBUG
41
+ # define DEBUG_VERBOSE
42
+ /* Provide defines for constants provided within Arduino_DebugUtils
43
+ * in order to allow older sketches using those constants to still
44
+ * compile.
45
+ */
46
+ # define DBG_NONE -1
47
+ # define DBG_ERROR 0
48
+ # define DBG_WARNING 1
49
+ # define DBG_INFO 2
50
+ # define DBG_DEBUG 3
51
+ # define DBG_VERBOSE 4
39
52
#endif
40
53
41
54
#ifndef DEBUG_ERROR
You can’t perform that action at this time.
0 commit comments