diff --git a/firmware/debug.h b/firmware/debug.h index adedfd9546..0f6b1eed64 100644 --- a/firmware/debug.h +++ b/firmware/debug.h @@ -23,7 +23,7 @@ extern void debugf(char* fmt,...); #ifdef __GNUC__ -/* GCC handles ellipses in macros, which +/* GCC handles ellipses in macros, which means we can avoid the call completely */ #ifdef DEBUG #define DEBUGF(fmt,args...) debugf(fmt, ## args) @@ -33,7 +33,7 @@ extern void debugf(char* fmt,...); #else -void DEBUGF debugf +#define DEBUGF debugf #endif /* GCC */