diff options
Diffstat (limited to 'firmware/target/arm/ipod/button-clickwheel.c')
-rw-r--r-- | firmware/target/arm/ipod/button-clickwheel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/ipod/button-clickwheel.c b/firmware/target/arm/ipod/button-clickwheel.c index e36c928fb0..21bbca62f0 100644 --- a/firmware/target/arm/ipod/button-clickwheel.c +++ b/firmware/target/arm/ipod/button-clickwheel.c | |||
@@ -316,7 +316,11 @@ int button_read_device(void) | |||
316 | } | 316 | } |
317 | 317 | ||
318 | /* The int_btn variable is set in the button interrupt handler */ | 318 | /* The int_btn variable is set in the button interrupt handler */ |
319 | #ifdef IPOD_ACCESSORY_PROTOCOL | ||
320 | return int_btn | remote_control_rx(); | ||
321 | #else | ||
319 | return int_btn; | 322 | return int_btn; |
323 | #endif | ||
320 | } | 324 | } |
321 | 325 | ||
322 | bool button_hold(void) | 326 | bool button_hold(void) |