mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-04 07:24:20 +01:00
Allow two minutes between WIFI connect retries
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
// WIFI & WEB
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#define WIFI_RECONNECT_INTERVAL 300000
|
||||
#define WIFI_RECONNECT_INTERVAL 120000
|
||||
#define WIFI_MAX_NETWORKS 5
|
||||
#define ADMIN_PASS "fibonacci"
|
||||
#define FORCE_CHANGE_PASS 1
|
||||
|
||||
@@ -51,6 +51,7 @@ void wifiConfigure() {
|
||||
|
||||
jw.setHostname(getSetting("hostname", HOSTNAME).c_str());
|
||||
jw.setSoftAP(getSetting("hostname", HOSTNAME).c_str(), getSetting("adminPass", ADMIN_PASS).c_str());
|
||||
jw.setReconnectTimeout(WIFI_RECONNECT_INTERVAL);
|
||||
jw.setAPMode(AP_MODE);
|
||||
jw.cleanNetworks();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user