summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525/system-as3525.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-08-31 06:49:08 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-08-31 06:49:08 +0000
commit67cf859b422296de9d1cce8d7866760bdb5f2efe (patch)
treeaba9866059a419c6fbc062552cdd22f98adc6f03 /firmware/target/arm/as3525/system-as3525.c
parent4dd6b144531711776abc0e9a4ad55bf8e281369f (diff)
downloadrockbox-67cf859b422296de9d1cce8d7866760bdb5f2efe.tar.gz
rockbox-67cf859b422296de9d1cce8d7866760bdb5f2efe.zip
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
Diffstat (limited to 'firmware/target/arm/as3525/system-as3525.c')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index e886c7231b..f55e3a4e48 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 */