diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2016-08-03 20:25:59 +0200 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2016-08-03 20:26:54 +0200 |
commit | 838780109e9321511755e74a2bc7803b169bf389 (patch) | |
tree | 6c00d9e0dae52d8e5182bad937cd3c84e2d120a7 | |
parent | ef572fec523c3064cbec8df3ef7610a2a9b5df54 (diff) | |
download | rockbox-838780109e9321511755e74a2bc7803b169bf389.tar.gz rockbox-838780109e9321511755e74a2bc7803b169bf389.zip |
test_mem: print clock speed in MHz so it fits on smaller screens.
Change-Id: I81383c115bd9abac44ffc2ecdd8807855c80cf0e
-rw-r--r-- | apps/plugins/test_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_mem.c b/apps/plugins/test_mem.c index 7a97f518cc..7ff5735647 100644 --- a/apps/plugins/test_mem.c +++ b/apps/plugins/test_mem.c | |||
@@ -210,7 +210,7 @@ enum plugin_status plugin_start(const void* parameter) | |||
210 | rb->screens[0]->clear_display(); | 210 | rb->screens[0]->clear_display(); |
211 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 211 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
212 | TEST_MEM_PRINTF("%s", boost?"boosted":"unboosted"); | 212 | TEST_MEM_PRINTF("%s", boost?"boosted":"unboosted"); |
213 | TEST_MEM_PRINTF("clock: %d Hz", *rb->cpu_frequency); | 213 | TEST_MEM_PRINTF("clock: %3d.%d MHz", (*rb->cpu_frequency)/1000000, (*rb->cpu_frequency)%1000000); |
214 | #endif | 214 | #endif |
215 | TEST_MEM_PRINTF("loop#: %d", ++count); | 215 | TEST_MEM_PRINTF("loop#: %d", ++count); |
216 | 216 | ||