summaryrefslogtreecommitdiff
path: root/firmware/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/system.c')
-rw-r--r--firmware/system.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/system.c b/firmware/system.c
index 74e3fce95d..1dce076093 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -19,7 +19,8 @@
19#include <stdio.h> 19#include <stdio.h>
20#include "config.h" 20#include "config.h"
21 21
22#include <lcd.h> 22#include "lcd.h"
23#include "font.h"
23#include "led.h" 24#include "led.h"
24#include "system.h" 25#include "system.h"
25 26
@@ -325,6 +326,7 @@ void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */
325 326
326 /* clear screen */ 327 /* clear screen */
327 lcd_clear_display (); 328 lcd_clear_display ();
329 lcd_setfont(FONT_SYSFIXED);
328 /* output exception */ 330 /* output exception */
329 n = (n - (unsigned)UIE0 - 4)>>2; // get exception or interrupt number 331 n = (n - (unsigned)UIE0 - 4)>>2; // get exception or interrupt number
330 snprintf(str,sizeof(str),"I%02x:%s",n,irqname[n]); 332 snprintf(str,sizeof(str),"I%02x:%s",n,irqname[n]);