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 | |
| parent | d55f1b73dff4ba201a981364f5134f0a696cdbe8 (diff) | |
| download | rockbox-1bf813d682f23955f0d8dfdd38428afb210f1ddf.zip rockbox-1bf813d682f23955f0d8dfdd38428afb210f1ddf.tar.gz rockbox-1bf813d682f23955f0d8dfdd38428afb210f1ddf.tar.bz2 rockbox-1bf813d682f23955f0d8dfdd38428afb210f1ddf.tar.xz | |
Enabled button light for Sansa C200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14856 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/lang/english.lang | 3 | ||||
| -rw-r--r-- | firmware/drivers/button.c | 5 | ||||
| -rw-r--r-- | firmware/export/config-c200.h | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/apps/lang/english.lang b/apps/lang/english.lang index 643d412..189da0f 100644 --- a/apps/lang/english.lang +++ b/apps/lang/english.lang @@ -3888,16 +3888,19 @@ <source> *: none e200: "Wheel Light Timeout" + c200: "Button Light Timeout" gigabeatf: "Button Light Timeout" </source> <dest> *: none e200: "Wheel Light Timeout" + c200: "Button Light Timeout" gigabeatf: "Button Light Timeout" </dest> <voice> *: none e200: "Wheel Light Timeout" + c200: "Button Light Timeout" gigabeatf: "Button Light Timeout" </voice> </phrase> diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 7b5fd26..862b02d 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c @@ -256,7 +256,12 @@ static void button_tick(void) remote_backlight_on(); else #endif + { backlight_on(); +#ifdef HAVE_BUTTON_LIGHT + button_backlight_on(); +#endif + } reset_poweroff_timer(); } diff --git a/firmware/export/config-c200.h b/firmware/export/config-c200.h index 745ac54..4f95300 100644 --- a/firmware/export/config-c200.h +++ b/firmware/export/config-c200.h @@ -27,7 +27,7 @@ #define HAVE_LCD_COLOR /* define this if you have a light associated with the buttons */ -/* TODO: #define HAVE_BUTTON_LIGHT */ +#define HAVE_BUTTON_LIGHT /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN |