diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-19 01:09:38 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-19 01:09:38 +0000 |
commit | b4984492ef6fe8fc5694352b9f8a709463adb0c2 (patch) | |
tree | b0c9eaa2ff2bae11a5fe694bc976b52e737a074d /firmware/drivers/button.c | |
parent | cff2a77a0fcaacd73803fd1a63ef6c644ea826fd (diff) |
H300: remote backlight on GPO33
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7973 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r-- | firmware/drivers/button.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 7537cb5e7d..56bfaed6da 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c @@ -210,13 +210,13 @@ void button_init(void) #if CONFIG_KEYPAD == IRIVER_H100_PAD /* Set GPIO33, GPIO37, GPIO38 and GPIO52 as general purpose inputs */ GPIO1_FUNCTION |= 0x00100062; - GPIO1_ENABLE &= ~0x00100062; + GPIO1_ENABLE &= ~0x00100060; #elif CONFIG_KEYPAD == IRIVER_H300_PAD /* Set GPIO9 and GPIO15 as general purpose inputs */ GPIO_ENABLE &= ~0x00008200; GPIO_FUNCTION |= 0x00008200; /* Set GPIO33, GPIO37, GPIO38 and GPIO52 as general purpose inputs */ - GPIO1_ENABLE &= ~0x00100062; + GPIO1_ENABLE &= ~0x00100060; GPIO1_FUNCTION |= 0x00100062; #elif CONFIG_KEYPAD == RECORDER_PAD /* Set PB4 and PB8 as input pins */ |