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 "