Skip to content

Commit b0cd745

Browse files
committed
readme update
1 parent 80ea04c commit b0cd745

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,21 @@ void setup() {
4848
cpuMonitor.init(cfg);
4949

5050
cpuMonitor.onSample([](const CpuUsageSample &s) {
51-
#if portNUM_PROCESSORS > 1
51+
#if portNUM_PROCESSORS > 1
5252
ESP_LOGI("CPU", "core0=%.1f%% core1=%.1f%% avg=%.1f%% smoothed=%.1f%% temp=%.1fC (avg %.1fC)",
5353
s.perCore[0], s.perCore[1], s.average,
5454
std::isnan(s.smoothedAverage) ? -1.0f : s.smoothedAverage,
5555
std::isnan(s.temperatureC) ? -1.0f : s.temperatureC,
5656
std::isnan(s.temperatureAvgC) ? -1.0f : s.temperatureAvgC
5757
);
58-
#else
58+
#else
5959
ESP_LOGI("CPU", "core0=%.1f%% avg=%.1f%% smoothed=%.1f%% temp=%.1fC (avg %.1fC)",
6060
s.perCore[0], s.average,
6161
std::isnan(s.smoothedAverage) ? -1.0f : s.smoothedAverage,
6262
std::isnan(s.temperatureC) ? -1.0f : s.temperatureC,
6363
std::isnan(s.temperatureAvgC) ? -1.0f : s.temperatureAvgC
6464
);
65-
#endif
65+
#endif
6666
});
6767
}
6868

0 commit comments

Comments
 (0)