summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-06-11 11:41:24 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-06-11 11:41:24 +0000
commitb45a2d433b81cd0087a75dec17190e0587734f1b (patch)
tree5d25e9ab94a30c31de8ce7f5b20eda85d6c711a5 /firmware/target/coldfire
parent71c9521a877c5ec26763cd8b088fabe08a4fe622 (diff)
downloadrockbox-b45a2d433b81cd0087a75dec17190e0587734f1b.tar.gz
rockbox-b45a2d433b81cd0087a75dec17190e0587734f1b.tar.bz2
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
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r--firmware/target/coldfire/mpio/hd200/button-hd200.c6
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 @@
void button_init_device(void)
{
- /* Set GPIO36, GPIO56 as general purpose inputs */
- or_l((1<<4)|(1<<24),&GPIO1_FUNCTION);
- and_l(~((1<<4)|(1<<24)),&GPIO1_ENABLE);
+ /* Set GPIO56 (main PLAY) as general purpose inputs */
+ or_l((1<<24),&GPIO1_FUNCTION);
+ and_l(~(1<<24),&GPIO1_ENABLE);
}
bool button_hold(void)