diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2008-04-23 00:08:59 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2008-04-23 00:08:59 +0000 |
commit | 38498ce9034f6d5eb5a51bd09173e119cb22443f (patch) | |
tree | be788c121afe1e302a7dbbb90bba9ad0e3e64720 | |
parent | 96b1b9e00464ddd120106df6f96a23b397242057 (diff) | |
download | rockbox-38498ce9034f6d5eb5a51bd09173e119cb22443f.tar.gz rockbox-38498ce9034f6d5eb5a51bd09173e119cb22443f.zip |
Make sure buttons have pullups disabled as necessary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17219 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c index a80663d0d6..5dde96d58a 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/button-meg-fx.c | |||
@@ -45,7 +45,9 @@ static int const remote_buttons[] = | |||
45 | 45 | ||
46 | void button_init_device(void) | 46 | void button_init_device(void) |
47 | { | 47 | { |
48 | /* Power, Remote Play & Hold switch */ | 48 | /* Some button inputs need the internal pullups disabled to function */ |
49 | GPGUP|=0x031F; | ||
50 | GPJUP|=0x1FFF; | ||
49 | } | 51 | } |
50 | 52 | ||
51 | inline bool button_hold(void) | 53 | inline bool button_hold(void) |