diff options
Diffstat (limited to 'firmware/panic.c')
-rw-r--r-- | firmware/panic.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/panic.c b/firmware/panic.c index 0223dc1494..66b9e4d7eb 100644 --- a/firmware/panic.c +++ b/firmware/panic.c @@ -30,6 +30,9 @@ #include "led.h" #include "power.h" #include "system.h" +#ifdef HAVE_BACKLIGHT +#include "backlight-target.h" +#endif static char panic_buf[128]; #define LINECHARS (LCD_WIDTH/SYSFONT_WIDTH) @@ -75,9 +78,14 @@ void panicf( const char *fmt, ...) #else /* no LCD */ #endif + lcd_update(); DEBUGF("%s", panic_buf); +#ifdef HAVE_BACKLIGHT + _backlight_on(); +#endif + set_cpu_frequency(0); #ifdef HAVE_ATA_POWER_OFF |