diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2024-12-27 17:41:34 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-12-27 17:41:34 +0100 |
commit | 8bd62e35ccd41399d6fb2f10ad16b7128f5bf8fe (patch) | |
tree | 2e870a19bc4b38d16ba02056cbf9d3d6ef00204a | |
parent | 5e09a9246c84536a1f5a186bf5c3b9c62d725080 (diff) | |
download | rockbox-8bd62e35cc.tar.gz rockbox-8bd62e35cc.zip |
button_queue: fix cpu never unboosted
regression introduced in da9d67a
Change-Id: Id1496873f1ab72fecc225dcfc78e633eea441089
-rw-r--r-- | firmware/drivers/button_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button_queue.c b/firmware/drivers/button_queue.c index 48e0179001..68748d1fc0 100644 --- a/firmware/drivers/button_queue.c +++ b/firmware/drivers/button_queue.c @@ -48,7 +48,7 @@ static void button_boost(bool state) cpu_boost(true); } } - else if (!button_boosted && TIME_AFTER(current_tick, button_unboost_tick)) + else if (button_boosted && TIME_AFTER(current_tick, button_unboost_tick)) { button_boosted = false; cpu_boost(false); |