1
0
Fork 0

cpu_freq: Simplify with E-notation

Thanks to the FRIGN
This commit is contained in:
Aaron Marcher 2018-07-07 10:56:10 +02:00
parent e20b50112e
commit c2492c3f99

View file

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