diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2010-06-11 11:41:24 +0000 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2010-06-11 11:41:24 +0000 |
commit | b45a2d433b81cd0087a75dec17190e0587734f1b (patch) | |
tree | 5d25e9ab94a30c31de8ce7f5b20eda85d6c711a5 | |
parent | 71c9521a877c5ec26763cd8b088fabe08a4fe622 (diff) | |
download | rockbox-b45a2d433b81cd0087a75dec17190e0587734f1b.tar.gz rockbox-b45a2d433b81cd0087a75dec17190e0587734f1b.zip |
HD200 - small cleanup in button_init_device()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26766 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/coldfire/mpio/hd200/button-hd200.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/coldfire/mpio/hd200/button-hd200.c b/firmware/target/coldfire/mpio/hd200/button-hd200.c index dbc558a52e..e7272fa295 100644 --- a/firmware/target/coldfire/mpio/hd200/button-hd200.c +++ b/firmware/target/coldfire/mpio/hd200/button-hd200.c | |||
@@ -28,9 +28,9 @@ | |||
28 | 28 | ||
29 | void button_init_device(void) | 29 | void button_init_device(void) |
30 | { | 30 | { |
31 | /* Set GPIO36, GPIO56 as general purpose inputs */ | 31 | /* Set GPIO56 (main PLAY) as general purpose inputs */ |
32 | or_l((1<<4)|(1<<24),&GPIO1_FUNCTION); | 32 | or_l((1<<24),&GPIO1_FUNCTION); |
33 | and_l(~((1<<4)|(1<<24)),&GPIO1_ENABLE); | 33 | and_l(~(1<<24),&GPIO1_ENABLE); |
34 | } | 34 | } |
35 | 35 | ||
36 | bool button_hold(void) | 36 | bool button_hold(void) |