forked from airgradienthq/arduino
Fix reboot device after WiFi Connector perform but not connected
This commit is contained in:
@ -244,6 +244,8 @@ void setup() {
|
|||||||
} else {
|
} else {
|
||||||
oledDisplay.showRebooting();
|
oledDisplay.showRebooting();
|
||||||
delay(2500);
|
delay(2500);
|
||||||
|
oledDisplay.setText("", "", "");
|
||||||
|
ESP.restart();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user