mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-25 14:37:15 +02:00
Set offline mode incase wifi is not configuraion or configuration ignored.
This commit is contained in:
@ -238,6 +238,11 @@ void setup() {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Set offline mode without saving, cause wifi is not configured */
|
||||
if (wifiConnector.hasConfigurated() == false) {
|
||||
Serial.println("Set offline mode cause wifi is not configurated");
|
||||
configuration.setOfflineModeWithoutSave(true);
|
||||
}
|
||||
|
||||
/** Show display Warning up */
|
||||
if (ag->isOne()) {
|
||||
|
Reference in New Issue
Block a user