summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/system.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/system.c b/firmware/system.c
index 1dce076093..97c981e0c2 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -326,7 +326,9 @@ void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */
326 326
327 /* clear screen */ 327 /* clear screen */
328 lcd_clear_display (); 328 lcd_clear_display ();
329#ifdef HAVE_LCD_BITMAP
329 lcd_setfont(FONT_SYSFIXED); 330 lcd_setfont(FONT_SYSFIXED);
331#endif
330 /* output exception */ 332 /* output exception */
331 n = (n - (unsigned)UIE0 - 4)>>2; // get exception or interrupt number 333 n = (n - (unsigned)UIE0 - 4)>>2; // get exception or interrupt number
332 snprintf(str,sizeof(str),"I%02x:%s",n,irqname[n]); 334 snprintf(str,sizeof(str),"I%02x:%s",n,irqname[n]);