File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments