diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2006-12-05 20:01:48 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-12-05 20:01:48 +0000 |
| commit | c5d57f0aaec039de4a72a94d103ace64c0553b3d (patch) | |
| tree | ae2f61a6deb7d65d174d175eef02b5be5c8c0cb6 /apps/debug_menu.c | |
| parent | 5f15f8f021abc08db88e95371ceda194f5717893 (diff) | |
| download | rockbox-c5d57f0aaec039de4a72a94d103ace64c0553b3d.zip rockbox-c5d57f0aaec039de4a72a94d103ace64c0553b3d.tar.gz rockbox-c5d57f0aaec039de4a72a94d103ace64c0553b3d.tar.bz2 rockbox-c5d57f0aaec039de4a72a94d103ace64c0553b3d.tar.xz | |
Removed the cpu boost tracking debug feature for now because of
different kind of problems. Better implementation can be done later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11665 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
| -rw-r--r-- | apps/debug_menu.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index ca8b056..6caae2d 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1280,11 +1280,7 @@ bool dbg_cpufreq(void) snprintf(buf, sizeof(buf), "Frequency: %ld", FREQ); lcd_puts(0, line++, buf); -#ifdef CPU_BOOST_TRACKING - snprintf(buf, sizeof(buf), "boost_counter: %d %s", get_cpu_boost_counter(), get_cpu_boost_tracker()); -#else snprintf(buf, sizeof(buf), "boost_counter: %d", get_cpu_boost_counter()); -#endif lcd_puts(0, line++, buf); lcd_update(); @@ -1293,16 +1289,16 @@ bool dbg_cpufreq(void) switch(button) { case ACTION_STD_PREV: - cpu_boost_id(true, CPUBOOSTID_DEBUGMENU_MANUAL); + cpu_boost(true); break; case ACTION_STD_NEXT: - cpu_boost_id(false, CPUBOOSTID_DEBUGMENU_MANUAL); + cpu_boost(false); break; case ACTION_STD_OK: while (get_cpu_boost_counter() > 0) - cpu_boost_id(false, CPUBOOSTID_DEBUGMENU_MANUAL); + cpu_boost(false); set_cpu_frequency(CPUFREQ_DEFAULT); break; |