From 67cf859b422296de9d1cce8d7866760bdb5f2efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Tue, 31 Aug 2010 06:49:08 +0000 Subject: AMS: update the LCD on system exception to be sure the content is up to date Without this change the backlight would be enabled but the screen would show the last content displayed before the screen went off git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27957 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/system-as3525.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index e886c72..f55e3a4 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c @@ -314,6 +314,8 @@ void system_exception_wait(void) { /* make sure lcd+backlight are on */ _backlight_panic_on(); + /* make sure screen content is up to date */ + lcd_update(); /* wait until button release (if a button is pressed) */ while(button_read_device()); /* then wait until next button press */ -- cgit v1.1