fix unit (GHz -> MHz)

This commit is contained in:
Redha Gouicem 2020-08-31 14:09:22 +02:00
parent 0f5d2cd1e4
commit d0e8ff9319
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ static void CPUMeter_updateValues(Meter* this, char* buffer, int size) {
if (cpuFrequency < 0) {
xSnprintf(cpuFrequencyBuffer, sizeof(cpuFrequencyBuffer), "N/A");
} else {
xSnprintf(cpuFrequencyBuffer, sizeof(cpuFrequencyBuffer), "%.0fGHz", cpuFrequency);
xSnprintf(cpuFrequencyBuffer, sizeof(cpuFrequencyBuffer), "%.0fMHz", cpuFrequency);
}
if (this->pl->settings->showCPUUsage) {
xSnprintf(buffer, size, "%5.1f%% %s", percent, cpuFrequencyBuffer);