more fixes

This commit is contained in:
Wolfgang Hottgenroth 2019-11-18 17:50:09 +01:00
parent b259d0b6f4
commit 63ced2ed51
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -90,7 +90,7 @@ void loopApplication() {
#ifdef DEBUG
Serial.println("Sleeping");
#endif
client.disconnect();
mqttClient.disconnect();
ESP.deepSleep(configBlock.measurePeriod * 1000000);
#endif
}