Ver código fonte

cpu_freq: Simplify with E-notation

Thanks to the FRIGN
master
Aaron Marcher 5 anos atrás
pai
commit
c2492c3f99
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      components/cpu.c

+ 1
- 1
components/cpu.c Ver arquivo

@@ -68,7 +68,7 @@
return NULL;
}

return fmt_human(freq * 1000 * 1000, 1000);
return fmt_human(freq * 1E6, 1000);
}

const char *


Carregando…
Cancelar
Salvar