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:
parent
7f6b640b1e
commit
ae815a0272
1 changed files with 4 additions and 10 deletions
|
|
@ -200,15 +200,8 @@ void charging_display_info(bool animate)
|
||||||
snprintf(buf, 32, "not charging");
|
snprintf(buf, 32, "not charging");
|
||||||
|
|
||||||
lcd_puts(0, 3, buf);
|
lcd_puts(0, 3, buf);
|
||||||
if (charger_enabled)
|
if (!charger_enabled)
|
||||||
{
|
|
||||||
backlight_on(); /* using the light gives good indication */
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
backlight_off();
|
|
||||||
animate = false;
|
animate = false;
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -275,7 +268,8 @@ int charging_screen(void)
|
||||||
ide_power_enable(false); /* power down the disk, else would be spinning */
|
ide_power_enable(false); /* power down the disk, else would be spinning */
|
||||||
|
|
||||||
lcd_clear_display();
|
lcd_clear_display();
|
||||||
backlight_on();
|
if(global_settings.backlight_on_when_charging)
|
||||||
|
backlight_on();
|
||||||
status_draw(true);
|
status_draw(true);
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue