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:
Phat Nguyen authored and GitHub committed 2024-06-06 13:11:33 +07:00
commit 6bdd4cb02f
3 files changed
+19 -2

No files matched your search

+6 -2
View File
@@ -232,8 +232,12 @@ void setup() {
ledBarEnabledUpdate();
}
} else {
oledDisplay.showRebooting();
delay(2500);
if (wifiConnector.isConfigurePorttalTimeout()) {
oledDisplay.showRebooting();
delay(2500);
oledDisplay.setText("", "", "");
ESP.restart();
}
}
}
}