This commit is contained in:
Mathieu Carbou
2024-12-19 10:15:25 +01:00
parent 2bce868f88
commit 5efe9137f3

View File

@ -781,8 +781,10 @@ void loop() {
// }
lastWS = millis();
}
if(now - lastHeap >= 2000) {
#ifdef ESP32
if (now - lastHeap >= 2000) {
Serial.printf("Free heap: %" PRIu32 "\n", ESP.getFreeHeap());
lastHeap = now;
}
#endif
}