forked from len0rd/rockbox
button_queue: fix cpu never unboosted
regression introduced in da9d67a
Change-Id: Id1496873f1ab72fecc225dcfc78e633eea441089
This commit is contained in:
parent
5e09a9246c
commit
8bd62e35cc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue