summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/mips/ingenic_jz47xx/system-jz4740.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/system-jz4740.c b/firmware/target/mips/ingenic_jz47xx/system-jz4740.c
index 978675825c..c5f99aba23 100644
--- a/firmware/target/mips/ingenic_jz47xx/system-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/system-jz4740.c
@@ -29,6 +29,7 @@
29 29
30#define EXTENDED_EXCEPTION_DESC 0 30#define EXTENDED_EXCEPTION_DESC 0
31#if EXTENDED_EXCEPTION_DESC 31#if EXTENDED_EXCEPTION_DESC
32#include "backlight-target.h"
32#include "font.h" 33#include "font.h"
33#include "lcd.h" 34#include "lcd.h"
34#include "sprintf.h" 35#include "sprintf.h"
@@ -264,6 +265,7 @@ void exception_handler(void* stack_ptr, unsigned int cause, unsigned int epc)
264 lcd_set_backdrop(NULL); 265 lcd_set_backdrop(NULL);
265 lcd_clear_display(); 266 lcd_clear_display();
266 lcd_setfont(FONT_SYSFIXED); 267 lcd_setfont(FONT_SYSFIXED);
268 _backlight_on();
267 269
268 snprintf(buffer, sizeof(buffer), "0x%08x at 0x%08x", read_c0_badvaddr(), epc); 270 snprintf(buffer, sizeof(buffer), "0x%08x at 0x%08x", read_c0_badvaddr(), epc);
269 lcd_puts(0, 0, parse_exception(cause)); 271 lcd_puts(0, 0, parse_exception(cause));