mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Fix FS#10486 - "fuze screen not drawn correctly on backlight turn-on if playlist ends while the backlight is off" by adding a lcd_update() to lcd_enable() as other targets do. Remove the delay as it seems unneeded nowadays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22244 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
553f95806f
commit
653db606cf
1 changed files with 2 additions and 2 deletions
|
|
@ -175,7 +175,6 @@ void lcd_enable(bool on)
|
|||
return; /* nothing to do */
|
||||
if(on)
|
||||
{
|
||||
int delay = 0x200000;
|
||||
lcd_write_reg(0, 1);
|
||||
lcd_write_reg(0x10, 0);
|
||||
lcd_write_reg(0x11, 0x3704);
|
||||
|
|
@ -189,8 +188,9 @@ void lcd_enable(bool on)
|
|||
display_on = true;
|
||||
/* a bit of delay before returning to
|
||||
* avoid irritating flash on backlight on */
|
||||
while(delay--);
|
||||
lcd_update(); /* Resync display */
|
||||
lcd_activation_call_hook();
|
||||
sleep(0);
|
||||
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue