Wrong return value

pull/3709/head
Blaz Kristan 2024-01-25 19:57:04 +01:00
rodzic fbe26e13ae
commit 8817d41275
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -708,8 +708,7 @@ bool WLED::initEthernet()
int8_t WLED::findWiFi(bool doScan) {
if (multiWiFi.size() <= 1) {
DEBUG_PRINTLN(F("Defaulf WiFi used."));
selectedWiFi = 0;
return true;
return 0;
}
if (doScan) WiFi.scanDelete(); // restart scan