@@ -79,39 +79,27 @@ class AdafruitIOGroupCallback {
7979// Define actual debug output functions when necessary.
8080#ifdef AIO_DEBUG
8181#define AIO_DEBUG_PRINT (...) \
82- { \
83- AIO_PRINTER.print (__VA_ARGS__); \
84- } // /< Prints debug output.
82+ { AIO_PRINTER.print (__VA_ARGS__); } // /< Prints debug output.
8583#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.
8985#else
9086#define AIO_DEBUG_PRINT (...) \
91- { \
92- } // /< Prints debug output
87+ {} // /< Prints debug output
9388#define AIO_DEBUG_PRINTLN (...) \
94- { \
95- } // /< Prints line from debug output.
89+ {} // /< Prints line from debug output.
9690#endif
9791
9892// Define actual error output functions when necessary.
9993#ifdef AIO_ERROR
10094#define AIO_ERROR_PRINT (...) \
101- { \
102- AIO_PRINTER.print (__VA_ARGS__); \
103- } // /< Prints error output
95+ { AIO_PRINTER.print (__VA_ARGS__); } // /< Prints error output
10496#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
10898#else
10999#define AIO_ERROR_PRINT (...) \
110- { \
111- } // /< Prints error output.
100+ {} // /< Prints error output.
112101#define AIO_ERROR_PRINTLN (...) \
113- { \
114- } // /< Prints line from error output.
102+ {} // /< Prints line from error output.
115103#endif
116104
117105#define AIO_PING_INTERVAL 60000 // /< Adafruit IO Ping Interval, in milliseconds
0 commit comments