summaryrefslogtreecommitdiffstats
path: root/firmware/panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/panic.c')
-rw-r--r--firmware/panic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index d7f330caf1..bbe241a26d 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -46,7 +46,7 @@ static char panic_buf[128];
#define LINECHARS (LCD_WIDTH/SYSFONT_WIDTH) - 2
-#if defined(CPU_ARM)
+#if defined(CPU_ARM) && defined(HAVE_RB_BACKTRACE)
void panicf_f( const char *fmt, ...);
/* we wrap panicf() here with naked function to catch SP value */