From c5d57f0aaec039de4a72a94d103ace64c0553b3d Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Tue, 5 Dec 2006 20:01:48 +0000 Subject: 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 --- apps/debug_menu.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'apps/debug_menu.c') 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; -- cgit v1.1