summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/ipod/button-clickwheel.c3
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/button-e200.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/firmware/target/arm/ipod/button-clickwheel.c b/firmware/target/arm/ipod/button-clickwheel.c
index 00c850bea4..f8dd818a01 100644
--- a/firmware/target/arm/ipod/button-clickwheel.c
+++ b/firmware/target/arm/ipod/button-clickwheel.c
@@ -157,9 +157,6 @@ static inline int ipod_4g_button_read(void)
wheel_keycode = BUTTON_SCROLL_BACK;
else
wheel_keycode = BUTTON_NONE;
-
- /* be able to read wheel action via button_read_device() */
- btn |= wheel_keycode;
if (wheel_keycode != BUTTON_NONE)
{
diff --git a/firmware/target/arm/sandisk/sansa-e200/button-e200.c b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
index ad0531d835..117b993763 100644
--- a/firmware/target/arm/sandisk/sansa-e200/button-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
@@ -131,9 +131,6 @@ void clickwheel_int(void)
btn = BUTTON_SCROLL_FWD;
else if (old_wheel_value == wheel_tbl[1][wheel_value >> 6])
btn = BUTTON_SCROLL_BACK;
-
- /* be able to read wheel action via button_read_device() */
- int_btn |= btn;
if (btn != BUTTON_NONE)
{