hmm.... do it a bit nicerly

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13196 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-04-17 11:41:07 +00:00
parent 7056391eb1
commit 5e6e7c5ce5

View file

@ -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);