1
0
Fork 0
forked from len0rd/rockbox

Enabled button light for Sansa C200

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14856 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2007-09-25 20:24:38 +00:00
parent d55f1b73df
commit 1bf813d682
3 changed files with 9 additions and 1 deletions

View file

@ -3888,16 +3888,19 @@
<source> <source>
*: none *: none
e200: "Wheel Light Timeout" e200: "Wheel Light Timeout"
c200: "Button Light Timeout"
gigabeatf: "Button Light Timeout" gigabeatf: "Button Light Timeout"
</source> </source>
<dest> <dest>
*: none *: none
e200: "Wheel Light Timeout" e200: "Wheel Light Timeout"
c200: "Button Light Timeout"
gigabeatf: "Button Light Timeout" gigabeatf: "Button Light Timeout"
</dest> </dest>
<voice> <voice>
*: none *: none
e200: "Wheel Light Timeout" e200: "Wheel Light Timeout"
c200: "Button Light Timeout"
gigabeatf: "Button Light Timeout" gigabeatf: "Button Light Timeout"
</voice> </voice>
</phrase> </phrase>

View file

@ -256,7 +256,12 @@ static void button_tick(void)
remote_backlight_on(); remote_backlight_on();
else else
#endif #endif
{
backlight_on(); backlight_on();
#ifdef HAVE_BUTTON_LIGHT
button_backlight_on();
#endif
}
reset_poweroff_timer(); reset_poweroff_timer();
} }

View file

@ -27,7 +27,7 @@
#define HAVE_LCD_COLOR #define HAVE_LCD_COLOR
/* define this if you have a light associated with the buttons */ /* 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 this if you have access to the quickscreen */
#define HAVE_QUICKSCREEN #define HAVE_QUICKSCREEN