summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_x1000/erosqnative/button-erosqnative.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/erosqnative/button-erosqnative.c')
-rw-r--r--firmware/target/mips/ingenic_x1000/erosqnative/button-erosqnative.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/erosqnative/button-erosqnative.c b/firmware/target/mips/ingenic_x1000/erosqnative/button-erosqnative.c
index 1583db175a..3fc4f11108 100644
--- a/firmware/target/mips/ingenic_x1000/erosqnative/button-erosqnative.c
+++ b/firmware/target/mips/ingenic_x1000/erosqnative/button-erosqnative.c
@@ -233,6 +233,7 @@ int button_read_device(void)
233 * Rockbox treats these buttons differently. */ 233 * Rockbox treats these buttons differently. */
234 queue_post(&button_queue, BUTTON_SCROLL_FWD, 0); 234 queue_post(&button_queue, BUTTON_SCROLL_FWD, 0);
235 enc_position = 0; 235 enc_position = 0;
236 reset_poweroff_timer();
236 } 237 }
237 else if (enc_position < -1) 238 else if (enc_position < -1)
238 { 239 {
@@ -240,6 +241,7 @@ int button_read_device(void)
240 * Rockbox treats these buttons differently. */ 241 * Rockbox treats these buttons differently. */
241 queue_post(&button_queue, BUTTON_SCROLL_BACK, 0); 242 queue_post(&button_queue, BUTTON_SCROLL_BACK, 0);
242 enc_position = 0; 243 enc_position = 0;
244 reset_poweroff_timer();
243 } 245 }
244 246
245 return r; 247 return r;