Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit 5efe913

Browse files
committed
Fix CI
1 parent 2bce868 commit 5efe913

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/SimpleServer/SimpleServer.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,8 +781,10 @@ void loop() {
781781
// }
782782
lastWS = millis();
783783
}
784-
if(now - lastHeap >= 2000) {
784+
#ifdef ESP32
785+
if (now - lastHeap >= 2000) {
785786
Serial.printf("Free heap: %" PRIu32 "\n", ESP.getFreeHeap());
786787
lastHeap = now;
787788
}
789+
#endif
788790
}

0 commit comments

Comments
 (0)