summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/system-arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/system-arm.c')
-rw-r--r--firmware/target/arm/system-arm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/system-arm.c b/firmware/target/arm/system-arm.c
index 74df5ed277..41d0cce723 100644
--- a/firmware/target/arm/system-arm.c
+++ b/firmware/target/arm/system-arm.c
@@ -145,11 +145,15 @@ void NORETURN_ATTR UIE(unsigned int pc, unsigned int num)
} /* num == 1 || num == 2 // prefetch/data abort */
#endif /* !defined(CPU_ARM7TDMI */
+#ifdef HAVE_RB_BACKTRACE
if (!triggered)
{
triggered = true;
rb_backtrace(pc, __get_sp(), &line);
}
+#else
+ (void)triggered;
+#endif
lcd_update();