Match clang diff

This commit is contained in:
brentru 2025-07-14 16:11:09 -04:00
parent 36b88bb9da
commit e67e9229c6

View file

@ -79,39 +79,27 @@ public:
// Define actual debug output functions when necessary. // Define actual debug output functions when necessary.
#ifdef AIO_DEBUG #ifdef AIO_DEBUG
#define AIO_DEBUG_PRINT(...) \ #define AIO_DEBUG_PRINT(...) \
{ \ { AIO_PRINTER.print(__VA_ARGS__); } ///< Prints debug output.
AIO_PRINTER.print(__VA_ARGS__); \
} ///< Prints debug output.
#define AIO_DEBUG_PRINTLN(...) \ #define AIO_DEBUG_PRINTLN(...) \
{ \ { AIO_PRINTER.println(__VA_ARGS__); } ///< Prints line from debug output.
AIO_PRINTER.println(__VA_ARGS__); \
} ///< Prints line from debug output.
#else #else
#define AIO_DEBUG_PRINT(...) \ #define AIO_DEBUG_PRINT(...) \
{ \ {} ///< Prints debug output
} ///< Prints debug output
#define AIO_DEBUG_PRINTLN(...) \ #define AIO_DEBUG_PRINTLN(...) \
{ \ {} ///< Prints line from debug output.
} ///< Prints line from debug output.
#endif #endif
// Define actual error output functions when necessary. // Define actual error output functions when necessary.
#ifdef AIO_ERROR #ifdef AIO_ERROR
#define AIO_ERROR_PRINT(...) \ #define AIO_ERROR_PRINT(...) \
{ \ { AIO_PRINTER.print(__VA_ARGS__); } ///< Prints error output
AIO_PRINTER.print(__VA_ARGS__); \
} ///< Prints error output
#define AIO_ERROR_PRINTLN(...) \ #define AIO_ERROR_PRINTLN(...) \
{ \ { AIO_PRINTER.println(__VA_ARGS__); } ///< Prints line from error output
AIO_PRINTER.println(__VA_ARGS__); \
} ///< Prints line from error output
#else #else
#define AIO_ERROR_PRINT(...) \ #define AIO_ERROR_PRINT(...) \
{ \ {} ///< Prints error output.
} ///< Prints error output.
#define AIO_ERROR_PRINTLN(...) \ #define AIO_ERROR_PRINTLN(...) \
{ \ {} ///< Prints line from error output.
} ///< Prints line from error output.
#endif #endif
#define AIO_PING_INTERVAL 60000 ///< Adafruit IO Ping Interval, in milliseconds #define AIO_PING_INTERVAL 60000 ///< Adafruit IO Ping Interval, in milliseconds