mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2026-08-03 20:24:35 +02:00
Fix macro formatting for CI clang-format version
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user