mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Ensure the network connection has completed before trying MQTT.
This commit is contained in:
parent
c3ada3b40e
commit
fb1f18e260
4 changed files with 10 additions and 1 deletions
|
|
@ -49,7 +49,9 @@ void loop() {
|
|||
Serial.print("Rebooting after ");
|
||||
Serial.print(rebootDelay.rebootTime);
|
||||
Serial.println("ms");
|
||||
net.end();
|
||||
ESP.restart();
|
||||
return;
|
||||
}
|
||||
uint32_t timing = millis();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue