From 8c79f8d0fe10b789eb43ba44f1b194bf1fc221b0 Mon Sep 17 00:00:00 2001 From: piclaw Date: Thu, 5 Feb 2026 09:42:48 -0500 Subject: [PATCH] Fix macro formatting for CI clang-format version --- DHT.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/DHT.h b/DHT.h index c339469..1dd0eee 100644 --- a/DHT.h +++ b/DHT.h @@ -29,21 +29,15 @@ /* Setup debug printing macros. */ #ifdef DHT_DEBUG -#define DEBUG_PRINT(...) \ - { \ - DEBUG_PRINTER.print(__VA_ARGS__); \ - } -#define DEBUG_PRINTLN(...) \ - { \ - DEBUG_PRINTER.println(__VA_ARGS__); \ - } +#define DEBUG_PRINT(...) \ + { DEBUG_PRINTER.print(__VA_ARGS__); } +#define DEBUG_PRINTLN(...) \ + { DEBUG_PRINTER.println(__VA_ARGS__); } #else #define DEBUG_PRINT(...) \ - { \ - } /**< Debug Print Placeholder if Debug is disabled */ + {} /**< Debug Print Placeholder if Debug is disabled */ #define DEBUG_PRINTLN(...) \ - { \ - } /**< Debug Print Line Placeholder if Debug is disabled */ + {} /**< Debug Print Line Placeholder if Debug is disabled */ #endif /* Define types of sensors. */