forked from airgradienthq/arduino
Merge pull request #172 from airgradienthq/hotfix/display-show-rebooting-but-not-rebooting
[Fix] Reboot device after WiFi Configure porttal timeout
This commit is contained in:
3 files changed
+19
-2
No files matched your search
@@ -232,8 +232,12 @@ void setup() {
|
||||
ledBarEnabledUpdate();
|
||||
}
|
||||
} else {
|
||||
oledDisplay.showRebooting();
|
||||
delay(2500);
|
||||
if (wifiConnector.isConfigurePorttalTimeout()) {
|
||||
oledDisplay.showRebooting();
|
||||
delay(2500);
|
||||
oledDisplay.setText("", "", "");
|
||||
ESP.restart();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user