summaryrefslogtreecommitdiff
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];
46 46
47#define LINECHARS (LCD_WIDTH/SYSFONT_WIDTH) - 2 47#define LINECHARS (LCD_WIDTH/SYSFONT_WIDTH) - 2
48 48
49#if defined(CPU_ARM) 49#if defined(CPU_ARM) && defined(HAVE_RB_BACKTRACE)
50void panicf_f( const char *fmt, ...); 50void panicf_f( const char *fmt, ...);
51 51
52/* we wrap panicf() here with naked function to catch SP value */ 52/* we wrap panicf() here with naked function to catch SP value */