summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.c
diff options
context:
space:
mode:
authorHristo Kovachev <bger@rockbox.org>2006-03-21 10:33:11 +0000
committerHristo Kovachev <bger@rockbox.org>2006-03-21 10:33:11 +0000
commitb492cf4ac4cb98169b0074436a30923be3d0bbe4 (patch)
tree18c00f8b325a5a0b701a5171326a9d8a7d948452 /firmware/drivers/button.c
parent63c8bb21ae06e625d631d54aeb06301dc86b388e (diff)
Removed an unneeded BUTTON_HOLD define for iPod 3G
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9151 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r--firmware/drivers/button.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index d86b8d8d2d..dbdb171bf2 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -359,7 +359,6 @@ static int ipod_3g_button_read(void)
if ((state & 0x20) == 0) {
/* 3g hold switch is active low */
- btn |= BUTTON_HOLD;
was_hold = 1;
/* hold switch on 3g causes all outputs to go low */
/* we shouldn't interpret these as key presses */