forked from airgradienthq/arduino
Add freeheap to cloud payload
This commit is contained in:
1 parent
2be91b3968
commit
4c165b31f5
2 files changed
+7
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user