mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-29 00:17:16 +02:00
Add freeheap to cloud payload
This commit is contained in:
@ -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