diff options
Diffstat (limited to 'components/cpu.c')
| -rw-r--r-- | components/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/cpu.c b/components/cpu.c index d0d03c7..a0b7314 100644 --- a/components/cpu.c +++ b/components/cpu.c @@ -18,7 +18,8 @@ if (pscanf(CPU_FREQ, "%ju", &freq) != 1) return NULL; - return fmt_human(freq * 1000, 1000); + //return fmt_human(freq * 1000, 1000); + return bprintf("%.1f", freq/1e6); } const char * |
