diff options
author | Björn Stenberg <bjorn@haxx.se> | 2007-09-25 20:24:38 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2007-09-25 20:24:38 +0000 |
commit | 1bf813d682f23955f0d8dfdd38428afb210f1ddf (patch) | |
tree | ba5af70414fb7eb6ff822be1bf5a1909759e3979 /firmware | |
parent | d55f1b73dff4ba201a981364f5134f0a696cdbe8 (diff) | |
download | rockbox-1bf813d682f23955f0d8dfdd38428afb210f1ddf.tar.gz rockbox-1bf813d682f23955f0d8dfdd38428afb210f1ddf.zip |
Enabled button light for Sansa C200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14856 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/button.c | 5 | ||||
-rw-r--r-- | firmware/export/config-c200.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 7b5fd26f3b..862b02dcb8 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c | |||
@@ -256,7 +256,12 @@ static void button_tick(void) | |||
256 | remote_backlight_on(); | 256 | remote_backlight_on(); |
257 | else | 257 | else |
258 | #endif | 258 | #endif |
259 | { | ||
259 | backlight_on(); | 260 | backlight_on(); |
261 | #ifdef HAVE_BUTTON_LIGHT | ||
262 | button_backlight_on(); | ||
263 | #endif | ||
264 | } | ||
260 | 265 | ||
261 | reset_poweroff_timer(); | 266 | reset_poweroff_timer(); |
262 | } | 267 | } |
diff --git a/firmware/export/config-c200.h b/firmware/export/config-c200.h index 745ac546fd..4f95300425 100644 --- a/firmware/export/config-c200.h +++ b/firmware/export/config-c200.h | |||
@@ -27,7 +27,7 @@ | |||
27 | #define HAVE_LCD_COLOR | 27 | #define HAVE_LCD_COLOR |
28 | 28 | ||
29 | /* define this if you have a light associated with the buttons */ | 29 | /* define this if you have a light associated with the buttons */ |
30 | /* TODO: #define HAVE_BUTTON_LIGHT */ | 30 | #define HAVE_BUTTON_LIGHT |
31 | 31 | ||
32 | /* define this if you have access to the quickscreen */ | 32 | /* define this if you have access to the quickscreen */ |
33 | #define HAVE_QUICKSCREEN | 33 | #define HAVE_QUICKSCREEN |