summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/debug.h b/firmware/debug.h
index adedfd9..0f6b1ee 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 */