mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
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:
parent
4dd6b14453
commit
67cf859b42
1 changed files with 2 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue