summaryrefslogtreecommitdiff
path: root/firmware/target/arm/sandisk
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-10-07 12:04:26 +0000
committerJens Arnold <amiconn@rockbox.org>2007-10-07 12:04:26 +0000
commit29473fe8774d5bd57de997186db0a9fa1f9ef1e2 (patch)
treec9a6aad5b9b2d8b4984b9b3f9fbe4eb4dbf53beb /firmware/target/arm/sandisk
parentd7d6b780d4975ee671b33872c294ff9b0c33227d (diff)
c200: Switch the 'menu' button light as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15012 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/sandisk')
-rw-r--r--firmware/target/arm/sandisk/backlight-c200_e200.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/firmware/target/arm/sandisk/backlight-c200_e200.c b/firmware/target/arm/sandisk/backlight-c200_e200.c
index 411c19f7ad..0dd4a2122b 100644
--- a/firmware/target/arm/sandisk/backlight-c200_e200.c
+++ b/firmware/target/arm/sandisk/backlight-c200_e200.c
@@ -53,11 +53,17 @@ void __backlight_off(void)
#ifdef HAVE_BUTTON_LIGHT
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)
{
GPIOG_OUTPUT_VAL &=~ 0x80;
+#ifdef SANSA_C200
+ GPIOB_OUTPUT_VAL &=~ 0x10; /* The "menu" backlight */
+#endif
}
#endif