@@ -79,27 +79,39 @@ class AdafruitIOGroupCallback {
79
79
// Define actual debug output functions when necessary.
80
80
#ifdef AIO_DEBUG
81
81
#define AIO_DEBUG_PRINT (...) \
82
- { AIO_PRINTER.print (__VA_ARGS__); } // /< Prints debug output.
82
+ { \
83
+ AIO_PRINTER.print (__VA_ARGS__); \
84
+ } // /< Prints debug output.
83
85
#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.
85
89
#else
86
90
#define AIO_DEBUG_PRINT (...) \
87
- {} // /< Prints debug output
91
+ { \
92
+ } // /< Prints debug output
88
93
#define AIO_DEBUG_PRINTLN (...) \
89
- {} // /< Prints line from debug output.
94
+ { \
95
+ } // /< Prints line from debug output.
90
96
#endif
91
97
92
98
// Define actual error output functions when necessary.
93
99
#ifdef AIO_ERROR
94
100
#define AIO_ERROR_PRINT (...) \
95
- { AIO_PRINTER.print (__VA_ARGS__); } // /< Prints error output
101
+ { \
102
+ AIO_PRINTER.print (__VA_ARGS__); \
103
+ } // /< Prints error output
96
104
#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
98
108
#else
99
109
#define AIO_ERROR_PRINT (...) \
100
- {} // /< Prints error output.
110
+ { \
111
+ } // /< Prints error output.
101
112
#define AIO_ERROR_PRINTLN (...) \
102
- {} // /< Prints line from error output.
113
+ { \
114
+ } // /< Prints line from error output.
103
115
#endif
104
116
105
117
#define AIO_PING_INTERVAL 60000 // /< Adafruit IO Ping Interval, in milliseconds
@@ -119,7 +131,7 @@ class AdafruitIOGroupCallback {
119
131
// echo | openssl s_client -connect io.adafruit.com:443 | openssl x509
120
132
// -fingerprint -noout
121
133
#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
123
135
// /< Adafruit IO
124
136
// /< SSL
125
137
// /< Fingerprint
0 commit comments