diff options
-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) |