summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-04-17 11:41:07 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-04-17 11:41:07 +0000
commit5e6e7c5ce58df9fa932a535b208f850a1b0b7974 (patch)
treeff32e64fb49d6b966e005eb00805ca0d3a3edab3 /firmware
parent7056391eb133a788cc94f571b05f93d962122973 (diff)
downloadrockbox-5e6e7c5ce58df9fa932a535b208f850a1b0b7974.tar.gz
rockbox-5e6e7c5ce58df9fa932a535b208f850a1b0b7974.tar.bz2
rockbox-5e6e7c5ce58df9fa932a535b208f850a1b0b7974.zip
hmm.... do it a bit nicerly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13196 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/button-e200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/button-e200.c b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
index 725325f811..2758928a5c 100644
--- a/firmware/target/arm/sandisk/sansa-e200/button-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
@@ -166,7 +166,7 @@ int button_read_device(void)
/* only trigger once per click */
if ((new_wheel_value == 0x00) || (new_wheel_value == 0xc0))
{
- btn = BUTTON_NONE;
+ btn = btn&(~(BUTTON_SCROLL_UP|BUTTON_SCROLL_DOWN));
}
if(wheel_backlight_timer==0){
wheel_backlight_on(true);