Restore CPU default frequency when boosting cancelled in debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11411 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cb031f052d
commit
3ad89d26d0
1 changed files with 1 additions and 0 deletions
|
@ -1321,6 +1321,7 @@ bool dbg_cpufreq(void)
|
|||
case ACTION_STD_OK:
|
||||
while (get_cpu_boost_counter() > 0)
|
||||
cpu_boost_id(false, CPUBOOSTID_DEBUGMENU_MANUAL);
|
||||
set_cpu_frequency(CPUFREQ_DEFAULT);
|
||||
break;
|
||||
|
||||
case ACTION_STD_CANCEL:
|
||||
|
|
Loading…
Reference in a new issue