@@ -79,27 +79,39 @@ class AdafruitIOGroupCallback {
7979// Define actual debug output functions when necessary.
8080#ifdef AIO_DEBUG
8181#define AIO_DEBUG_PRINT (...) \
82- { AIO_PRINTER.print (__VA_ARGS__); } // /< Prints debug output.
82+ { \
83+ AIO_PRINTER.print (__VA_ARGS__); \
84+ } // /< Prints debug output.
8385#define AIO_DEBUG_PRINTLN (...) \
84- { AIO_PRINTER.println (__VA_ARGS__); } // /< Prints line from debug output.
86+ { \
87+ AIO_PRINTER.println (__VA_ARGS__); \
88+ } // /< Prints line from debug output.
8589#else
8690#define AIO_DEBUG_PRINT (...) \
87- {} // /< Prints debug output
91+ { \
92+ } // /< Prints debug output
8893#define AIO_DEBUG_PRINTLN (...) \
89- {} // /< Prints line from debug output.
94+ { \
95+ } // /< Prints line from debug output.
9096#endif
9197
9298// Define actual error output functions when necessary.
9399#ifdef AIO_ERROR
94100#define AIO_ERROR_PRINT (...) \
95- { AIO_PRINTER.print (__VA_ARGS__); } // /< Prints error output
101+ { \
102+ AIO_PRINTER.print (__VA_ARGS__); \
103+ } // /< Prints error output
96104#define AIO_ERROR_PRINTLN (...) \
97- { AIO_PRINTER.println (__VA_ARGS__); } // /< Prints line from error output
105+ { \
106+ AIO_PRINTER.println (__VA_ARGS__); \
107+ } // /< Prints line from error output
98108#else
99109#define AIO_ERROR_PRINT (...) \
100- {} // /< Prints error output.
110+ { \
111+ } // /< Prints error output.
101112#define AIO_ERROR_PRINTLN (...) \
102- {} // /< Prints line from error output.
113+ { \
114+ } // /< Prints line from error output.
103115#endif
104116
105117#define AIO_PING_INTERVAL 60000 // /< Adafruit IO Ping Interval, in milliseconds
@@ -119,7 +131,7 @@ class AdafruitIOGroupCallback {
119131// echo | openssl s_client -connect io.adafruit.com:443 | openssl x509
120132// -fingerprint -noout
121133#define AIO_SSL_FINGERPRINT \
122- " 4E C1 52 73 24 A8 36 D6 7A 4C 67 C7 91 0C 0A 22 B9 2D 5B CA " // /< Latest
134+ " 47 D2 CB 14 DF 38 97 59 C6 65 1A 1F 3E 00 1E 53 CC A5 17 E0 " // /< Latest
123135 // /< Adafruit IO
124136 // /< SSL
125137 // /< Fingerprint
0 commit comments