summaryrefslogtreecommitdiff
path: root/firmware/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/debug.c')
-rw-r--r--firmware/debug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/debug.c b/firmware/debug.c
index 4031ba4..ef57053 100644
--- a/firmware/debug.c
+++ b/firmware/debug.c
@@ -28,8 +28,10 @@
#ifdef DEBUG
static char debugmembuf[200];
+#if CONFIG_CPU == SH3704
static char debugbuf[400];
#endif
+#endif
#ifndef SIMULATOR /* allow non archos platforms to display output */
#include "kernel.h"
@@ -222,7 +224,7 @@ static void debug(char *msg)
if (f) (*f)(msg);
}
-void debug_init()
+void debug_init(void)
{
}