forked from len0rd/rockbox
c200: Switch the 'menu' button light as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15012 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d7d6b780d4
commit
29473fe877
1 changed files with 7 additions and 1 deletions
|
|
@ -53,11 +53,17 @@ void __backlight_off(void)
|
||||||
#ifdef HAVE_BUTTON_LIGHT
|
#ifdef HAVE_BUTTON_LIGHT
|
||||||
void __button_backlight_on(void)
|
void __button_backlight_on(void)
|
||||||
{
|
{
|
||||||
GPIOG_OUTPUT_VAL |=0x80;
|
GPIOG_OUTPUT_VAL |= 0x80;
|
||||||
|
#ifdef SANSA_C200
|
||||||
|
GPIOB_OUTPUT_VAL |= 0x10; /* The "menu" backlight */
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void __button_backlight_off(void)
|
void __button_backlight_off(void)
|
||||||
{
|
{
|
||||||
GPIOG_OUTPUT_VAL &=~ 0x80;
|
GPIOG_OUTPUT_VAL &=~ 0x80;
|
||||||
|
#ifdef SANSA_C200
|
||||||
|
GPIOB_OUTPUT_VAL &=~ 0x10; /* The "menu" backlight */
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue