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. */