diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-31 06:49:08 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-31 06:49:08 +0000 |
commit | 67cf859b422296de9d1cce8d7866760bdb5f2efe (patch) | |
tree | aba9866059a419c6fbc062552cdd22f98adc6f03 | |
parent | 4dd6b144531711776abc0e9a4ad55bf8e281369f (diff) | |
download | rockbox-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
-rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 2 |
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) | |||
314 | { | 314 | { |
315 | /* make sure lcd+backlight are on */ | 315 | /* make sure lcd+backlight are on */ |
316 | _backlight_panic_on(); | 316 | _backlight_panic_on(); |
317 | /* make sure screen content is up to date */ | ||
318 | lcd_update(); | ||
317 | /* wait until button release (if a button is pressed) */ | 319 | /* wait until button release (if a button is pressed) */ |
318 | while(button_read_device()); | 320 | while(button_read_device()); |
319 | /* then wait until next button press */ | 321 | /* then wait until next button press */ |