|
|
|
@ -75,7 +75,7 @@ void setup() {
|
|
|
|
wifiManager.setAPCallback(configModeCallback);
|
|
|
|
wifiManager.setAPCallback(configModeCallback);
|
|
|
|
if(!wifiManager.autoConnect("LibreMetric")) {
|
|
|
|
if(!wifiManager.autoConnect("LibreMetric")) {
|
|
|
|
DEBUG_PRINTLN(F("failed to connect and timeout occurred"));
|
|
|
|
DEBUG_PRINTLN(F("failed to connect and timeout occurred"));
|
|
|
|
display_static_message("No OK");
|
|
|
|
display_message("Failed to connect");
|
|
|
|
delay(6000);
|
|
|
|
delay(6000);
|
|
|
|
ESP.reset(); //reset and try again
|
|
|
|
ESP.reset(); //reset and try again
|
|
|
|
delay(180000);
|
|
|
|
delay(180000);
|
|
|
|
|