From 55c488513e7cfd5427c2179ee86801ee6439ba2c Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 2 Apr 2021 16:04:43 +0200 Subject: [PATCH] Warning fix --- radio/src/debug.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/radio/src/debug.h b/radio/src/debug.h index 04c54c335..d6ebcb7a2 100644 --- a/radio/src/debug.h +++ b/radio/src/debug.h @@ -51,7 +51,9 @@ uint8_t aux2SerialTracesEnabled(); #elif defined(DEBUG) #define debugPrintf(...) do { serialPrintf(__VA_ARGS__); } while(0) #else - #define debugPrintf(...) + inline void debugPrintf(const char *, ...) + { + } #endif #define TRACE_TIME_FORMAT "%0.2f "