From 3172bb0d176ae1c68d3868647572281ea18bd4ec Mon Sep 17 00:00:00 2001 From: Pablo2048 Date: Sun, 6 Jan 2019 11:00:45 +0100 Subject: [PATCH] Dalsi fixy v ESP32 casti --- src/WiFiConfig.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/WiFiConfig.cpp b/src/WiFiConfig.cpp index 164749b..b4f5e0b 100644 --- a/src/WiFiConfig.cpp +++ b/src/WiFiConfig.cpp @@ -893,6 +893,14 @@ wificonfigresult_t WiFiConfig::begin(int configarea, int forceConfigure, wificon if (cb) cb(WCS_CONNECTSTART); // signalizujeme zacatek pokusu o pripojeni (zde se nic jineho stejne nestane...) break; + +#if !defined(ESP8266) + default: + DEBUG_MSG("Wrong config (%d)\r\n", EEPROM.read(configBase + offsetof(wificonfigarea_t, mode))); + _status = 0xfe; + result = _setupAP(cb); + break; +#endif } } }