Add freeheap to cloud payload

This commit is contained in:
samuelbles07 committed 2024-11-21 02:36:56 +07:00
1 parent 2be91b3968
commit 4c165b31f5
2 files changed
+7

No files matched your search

+3
View File
@@ -1150,6 +1150,9 @@ static void sendDataToServer(void) {
"Online mode and isPostToAirGradient = true: watchdog reset");
Serial.println();
}
/** Log current free heap size */
Serial.printf("Free heap: %u\n", ESP.getFreeHeap());
}
static void tempHumUpdate(void) {