summaryrefslogtreecommitdiff
path: root/firmware/backlight.c
diff options
context:
space:
mode:
authorSteve Gotthardt <gotthardt@rockbox.org>2007-01-08 08:53:36 +0000
committerSteve Gotthardt <gotthardt@rockbox.org>2007-01-08 08:53:36 +0000
commit93b047fffec9b6d3b5ef1697c3034caa83944182 (patch)
tree430b4482bd77c6d860a14048b25310db5aa8943d /firmware/backlight.c
parent2446b22db971668f8d6ba5cb2361aabbda286da1 (diff)
downloadrockbox-93b047fffec9b6d3b5ef1697c3034caa83944182.tar.gz
rockbox-93b047fffec9b6d3b5ef1697c3034caa83944182.zip
Updated buttonlights for the Gigabeat port. Added LCD controller off and on for extra power savings - thanks to Greg White. Incorporated feedback from Gary Allen. Added 'battery charging' mode: shows leds during charging. Added 'follow' mode that turns off leds when backlight goes off. Flicker mode and new solid mode only show during disk access. Access settings from Info/debug menu for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11945 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r--firmware/backlight.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 9494be107b..63bde6a868 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -291,6 +291,8 @@ static void _backlight_on(void)
291 __backlight_on(); 291 __backlight_on();
292 } 292 }
293#elif defined(HAVE_BACKLIGHT_SET_FADING) && !defined(SIMULATOR) 293#elif defined(HAVE_BACKLIGHT_SET_FADING) && !defined(SIMULATOR)
294 /* call the enable from here - it takes longer than the disable */
295 lcd_enable(true);
294 __backlight_dim(false); 296 __backlight_dim(false);
295#else 297#else
296 __backlight_on(); 298 __backlight_on();