summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-04 00:34:02 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-04 00:34:02 +0000
commit925dacf96dca1ca09c58024df2e41aaea524c722 (patch)
tree361dfcdda7d2b095b70b46401c1d3b507cf93261 /apps/debug_menu.c
parentd07c1d57a4c54c5154036192a563a4a4fcaa6eac (diff)
*frequency_linux(): factorize
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31555 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 340407176c..d31bf2bf6b 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -285,8 +285,8 @@ static const char* get_cpuinfo(int selected_item, void *data,
{
int cpu = (selected_item - 5) / (state_count + 1);
int cpu_line = (selected_item - 5) % (state_count + 1);
- int freq1 = cpufrequency_linux(cpu);
- int freq2 = scalingfrequency_linux(cpu);
+ int freq1 = frequency_linux(cpu, false);
+ int freq2 = frequency_linux(cpu, true);
if (cpu_line == 0)
{
sprintf(buffer, " CPU%d: Cur/Scal freq: %d/%d MHz", cpu,