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
This commit is contained in:
Rafaël Carré 2010-08-31 06:49:08 +00:00
parent 4dd6b14453
commit 67cf859b42

View file

@ -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 */