summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-10-12 08:42:11 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-10-12 08:42:11 +0000
commitae815a0272311ac200d55a6a323b4a0a94f36124 (patch)
tree916977a26ce83e35a032fa99c19ab91159089b0d /apps
parent7f6b640b1e47583ba451a46263053a0803ff862e (diff)
downloadrockbox-ae815a0272311ac200d55a6a323b4a0a94f36124.tar.gz
rockbox-ae815a0272311ac200d55a6a323b4a0a94f36124.zip
Removed the backlight control from the charging screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5255 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/screens.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/apps/screens.c b/apps/screens.c
index ac8dea1c24..9a9ebff140 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -200,16 +200,9 @@ void charging_display_info(bool animate)
200 snprintf(buf, 32, "not charging"); 200 snprintf(buf, 32, "not charging");
201 201
202 lcd_puts(0, 3, buf); 202 lcd_puts(0, 3, buf);
203 if (charger_enabled) 203 if (!charger_enabled)
204 {
205 backlight_on(); /* using the light gives good indication */
206 }
207 else
208 {
209 backlight_off();
210 animate = false; 204 animate = false;
211 } 205#endif
212#endif
213 206
214 207
215 /* middle part */ 208 /* middle part */
@@ -275,7 +268,8 @@ int charging_screen(void)
275 ide_power_enable(false); /* power down the disk, else would be spinning */ 268 ide_power_enable(false); /* power down the disk, else would be spinning */
276 269
277 lcd_clear_display(); 270 lcd_clear_display();
278 backlight_on(); 271 if(global_settings.backlight_on_when_charging)
272 backlight_on();
279 status_draw(true); 273 status_draw(true);
280 274
281#ifdef HAVE_LCD_BITMAP 275#ifdef HAVE_LCD_BITMAP