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:
Steve Bavin 2006-11-01 11:12:21 +00:00
parent cb031f052d
commit 3ad89d26d0

View file

@ -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: