Add freeheap to cloud payload

This commit is contained in:
samuelbles07
2024-11-21 02:36:56 +07:00
parent 2be91b3968
commit 4c165b31f5
2 changed files with 7 additions and 0 deletions

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) {