Browse Source

cpu_freq: Simplify with E-notation

Thanks to the FRIGN
master
Aaron Marcher 8 years ago
parent
commit
c2492c3f99
  1. 2
      components/cpu.c

2
components/cpu.c

@ -68,7 +68,7 @@
return NULL;
}
return fmt_human(freq * 1000 * 1000, 1000);
return fmt_human(freq * 1E6, 1000);
}
const char *

Loading…
Cancel
Save