From b3e31b9d04789f250ce179834c512a97684f4ba7 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 20 Nov 2004 22:43:38 +0000 Subject: Fix: Properly apply the backlight settings for the charging screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5451 a1c6a512-1295-4272-9138-f99709370657 --- apps/screens.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/screens.c b/apps/screens.c index 771cd69c1f..4c5ef4975b 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -270,13 +270,14 @@ int charging_screen(void) ide_power_enable(false); /* power down the disk, else would be spinning */ lcd_clear_display(); - if(global_settings.backlight_on_when_charging) - backlight_on(); + backlight_set_timeout(global_settings.backlight_timeout); + backlight_set_on_when_charging(global_settings.backlight_on_when_charging); status_draw(true); #ifdef HAVE_LCD_BITMAP charging_display_info(false); #else + lcd_double_height(false); lcd_puts(0, 1, "[charging]"); #endif -- cgit v1.2.3