Browse Source

Merge 1317470cc3 into e8d3c53ba1

pull/2148/merge
Alexey Emelyanenko 23 hours ago
committed by GitHub
parent
commit
1b364289fb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      examples/companion_radio/main.cpp

6
examples/companion_radio/main.cpp

@ -245,6 +245,12 @@ void setup() {
void loop() {
the_mesh.loop();
sensors.loop();
if (WiFi.status() != WL_CONNECTED) {
Serial.println("Reconnecting to WiFi...");
WiFi.disconnect();
WiFi.reconnect();
delay(5000); // Give it time to reconnect
}
#ifdef DISPLAY_CLASS
ui_task.loop();
#endif

Loading…
Cancel
Save