summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-08-10 21:38:10 +0000
committerThomas Martitz <kugel@rockbox.org>2009-08-10 21:38:10 +0000
commit653db606cfb3698a706f938b0e82f44176a72ad7 (patch)
tree0b6d606cae869589fde7622b3e5fe08a3045657a /firmware
parent553f95806fc16818b59b203e6a80111ac2f26d56 (diff)
downloadrockbox-653db606cfb3698a706f938b0e82f44176a72ad7.tar.gz
rockbox-653db606cfb3698a706f938b0e82f44176a72ad7.tar.bz2
rockbox-653db606cfb3698a706f938b0e82f44176a72ad7.zip
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c b/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c
index 8dbec8c64a..7291a5e748 100644
--- a/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c
+++ b/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c
@@ -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