From a3f826061ebcd796a6d5ddc31302f0cdbed44a71 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Mon, 11 May 2020 23:39:02 +0900 Subject: [PATCH] Avoid empty-body warning with AC_DEBUG not specified. #218 --- src/AutoConnectDefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AutoConnectDefs.h b/src/AutoConnectDefs.h index 9f52ff6..511c8ce 100644 --- a/src/AutoConnectDefs.h +++ b/src/AutoConnectDefs.h @@ -21,8 +21,8 @@ #define AC_DBG_DUMB(fmt, ...) do {AC_DEBUG_PORT.printf(PSTR(fmt), ## __VA_ARGS__ );} while (0) #define AC_DBG(fmt, ...) do {AC_DEBUG_PORT.printf(PSTR("[AC] " fmt), ## __VA_ARGS__ );} while (0) #else -#define AC_DBG(...) -#define AC_DBG_DUMB(...) +#define AC_DBG(...) do {} while(0) +#define AC_DBG_DUMB(...) do {} while(0) #endif // !AC_DEBUG // Indicator to specify that AutoConnectAux handles elements with JSON.