mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2026-10-26 22:10:56 +00:00
Fix macro formatting for CI clang-format version
This commit is contained in:
1 parent
99e90c2698
commit
8c79f8d0fe
1 file changed
+6
-12
@@ -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