@@ -79,39 +79,27 @@ class AdafruitIOGroupCallback {
79
79
// Define actual debug output functions when necessary.
80
80
#ifdef AIO_DEBUG
81
81
#define AIO_DEBUG_PRINT (...) \
82
- { \
83
- AIO_PRINTER.print (__VA_ARGS__); \
84
- } // /< Prints debug output.
82
+ { AIO_PRINTER.print (__VA_ARGS__); } // /< Prints debug output.
85
83
#define AIO_DEBUG_PRINTLN (...) \
86
- { \
87
- AIO_PRINTER.println (__VA_ARGS__); \
88
- } // /< Prints line from debug output.
84
+ { AIO_PRINTER.println (__VA_ARGS__); } // /< Prints line from debug output.
89
85
#else
90
86
#define AIO_DEBUG_PRINT (...) \
91
- { \
92
- } // /< Prints debug output
87
+ {} // /< Prints debug output
93
88
#define AIO_DEBUG_PRINTLN (...) \
94
- { \
95
- } // /< Prints line from debug output.
89
+ {} // /< Prints line from debug output.
96
90
#endif
97
91
98
92
// Define actual error output functions when necessary.
99
93
#ifdef AIO_ERROR
100
94
#define AIO_ERROR_PRINT (...) \
101
- { \
102
- AIO_PRINTER.print (__VA_ARGS__); \
103
- } // /< Prints error output
95
+ { AIO_PRINTER.print (__VA_ARGS__); } // /< Prints error output
104
96
#define AIO_ERROR_PRINTLN (...) \
105
- { \
106
- AIO_PRINTER.println (__VA_ARGS__); \
107
- } // /< Prints line from error output
97
+ { AIO_PRINTER.println (__VA_ARGS__); } // /< Prints line from error output
108
98
#else
109
99
#define AIO_ERROR_PRINT (...) \
110
- { \
111
- } // /< Prints error output.
100
+ {} // /< Prints error output.
112
101
#define AIO_ERROR_PRINTLN (...) \
113
- { \
114
- } // /< Prints line from error output.
102
+ {} // /< Prints line from error output.
115
103
#endif
116
104
117
105
#define AIO_PING_INTERVAL 60000 // /< Adafruit IO Ping Interval, in milliseconds
0 commit comments