diff options
author | Richard Goedeken <richard@fascinationsoftware.com> | 2022-12-02 11:16:08 -0800 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-04 10:16:14 -0500 |
commit | d06cf3ac2db402a6d36d4491d1bc1abd905c7703 (patch) | |
tree | d37c6b89e0367746c458b1dfcbc456e2a2ebc841 | |
parent | bbe39420395618944a7174bc3d9be1bc67b257a3 (diff) | |
download | rockbox-d06cf3ac2d.tar.gz rockbox-d06cf3ac2d.zip |
bugfix: for ErosQ/SurfansF20, reset poweroff timer when scroll wheel is moved so that we dont blank the screen while the user is scrolling through a list
Change-Id: Ifdce301e2d75e3f6f54fba5b3eef15b2141cb954
-rw-r--r-- | firmware/target/mips/ingenic_x1000/erosqnative/button-erosqnative.c | 2 |
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) * Rockbox treats these buttons differently. */ queue_post(&button_queue, BUTTON_SCROLL_FWD, 0); enc_position = 0; + reset_poweroff_timer(); } else if (enc_position < -1) { @@ -240,6 +241,7 @@ int button_read_device(void) * Rockbox treats these buttons differently. */ queue_post(&button_queue, BUTTON_SCROLL_BACK, 0); enc_position = 0; + reset_poweroff_timer(); } return r; |