remove unused variable

This commit is contained in:
Redha Gouicem 2020-08-31 13:29:24 +02:00
parent 3ef5df25bc
commit 293e3a2931
1 changed files with 0 additions and 1 deletions

View File

@ -66,7 +66,6 @@ static void CPUMeter_updateValues(Meter* this, char* buffer, int size) {
double percent = Platform_setCPUValues(this, cpu); double percent = Platform_setCPUValues(this, cpu);
if (this->pl->settings->showCPUFrequency) { if (this->pl->settings->showCPUFrequency) {
double cpuFrequency = this->values[CPU_METER_FREQUENCY]; double cpuFrequency = this->values[CPU_METER_FREQUENCY];
char unit = 'M';
char cpuFrequencyBuffer[16]; char cpuFrequencyBuffer[16];
if (cpuFrequency < 0) { if (cpuFrequency < 0) {
xSnprintf(cpuFrequencyBuffer, sizeof(cpuFrequencyBuffer), "N/A"); xSnprintf(cpuFrequencyBuffer, sizeof(cpuFrequencyBuffer), "N/A");