summaryrefslogtreecommitdiffstats
path: root/firmware/panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/panic.c')
-rw-r--r--firmware/panic.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index 586ecb6e0a..d7f330caf1 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -37,7 +37,13 @@
#include "backtrace.h"
#endif
+#if (defined(CPU_MIPS) && (CONFIG_PLATFORM & PLATFORM_NATIVE))
+/* TODO: see comment above exception_dump in system-mips.c */
+char panic_buf[128];
+#else
static char panic_buf[128];
+#endif
+
#define LINECHARS (LCD_WIDTH/SYSFONT_WIDTH) - 2
#if defined(CPU_ARM)