Browse Source

show free heap

ir
Hendrik Langer 5 years ago
parent
commit
cfae02aaa5
  1. 2
      src/main.cpp
  2. 1
      src/network/XD0OTA.cpp

2
src/main.cpp

@ -383,6 +383,8 @@ void printValues() {
Serial.println(sensor_readings.pm10);
}
Serial.print("Free HEAP: "); Serial.println(ESP.getFreeHeap());
}
void sendValues() {

1
src/network/XD0OTA.cpp

@ -131,5 +131,6 @@ int XD0OTA::checkForUpdates(String url) {
newVersion = -1;
}
httpClient.end();
client.stop();
return newVersion;
}

Loading…
Cancel
Save