From 7775b0afc1b2a4691f346648165416806cf01833 Mon Sep 17 00:00:00 2001 From: kugel Date: Mon, 10 Aug 2009 21:38:10 +0000 Subject: [PATCH] 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 --- firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c | 4 ++-- 1 file 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 8dbec8c64..7291a5e74 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 -- 2.11.4.GIT