1
0
Fork 0
forked from len0rd/rockbox

Removed the backlight control from the charging screen

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5255 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-10-12 08:42:11 +00:00
parent 7f6b640b1e
commit ae815a0272

View file

@ -200,15 +200,8 @@ void charging_display_info(bool animate)
snprintf(buf, 32, "not charging");
lcd_puts(0, 3, buf);
if (charger_enabled)
{
backlight_on(); /* using the light gives good indication */
}
else
{
backlight_off();
if (!charger_enabled)
animate = false;
}
#endif
@ -275,7 +268,8 @@ int charging_screen(void)
ide_power_enable(false); /* power down the disk, else would be spinning */
lcd_clear_display();
backlight_on();
if(global_settings.backlight_on_when_charging)
backlight_on();
status_draw(true);
#ifdef HAVE_LCD_BITMAP