summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-11-20 22:43:38 +0000
committerJens Arnold <amiconn@rockbox.org>2004-11-20 22:43:38 +0000
commitb3e31b9d04789f250ce179834c512a97684f4ba7 (patch)
treee7c4b748a5742284b7461c35ae5565f0b61283e4 /apps
parent3999bc03239488237aa19a90b30fef0f1f1747a5 (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/screens.c5
1 files changed, 3 insertions, 2 deletions
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