summaryrefslogtreecommitdiff
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
parent7056391eb133a788cc94f571b05f93d962122973 (diff)
downloadrockbox-5e6e7c5ce58df9fa932a535b208f850a1b0b7974.tar.gz
rockbox-5e6e7c5ce58df9fa932a535b208f850a1b0b7974.zip
hmm.... do it a bit nicerly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13196 a1c6a512-1295-4272-9138-f99709370657
-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)
166 /* only trigger once per click */ 166 /* only trigger once per click */
167 if ((new_wheel_value == 0x00) || (new_wheel_value == 0xc0)) 167 if ((new_wheel_value == 0x00) || (new_wheel_value == 0xc0))
168 { 168 {
169 btn = BUTTON_NONE; 169 btn = btn&(~(BUTTON_SCROLL_UP|BUTTON_SCROLL_DOWN));
170 } 170 }
171 if(wheel_backlight_timer==0){ 171 if(wheel_backlight_timer==0){
172 wheel_backlight_on(true); 172 wheel_backlight_on(true);