mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 08:46:34 +00:00
Wrong return value
This commit is contained in:
parent
fbe26e13ae
commit
8817d41275
@ -708,8 +708,7 @@ bool WLED::initEthernet()
|
|||||||
int8_t WLED::findWiFi(bool doScan) {
|
int8_t WLED::findWiFi(bool doScan) {
|
||||||
if (multiWiFi.size() <= 1) {
|
if (multiWiFi.size() <= 1) {
|
||||||
DEBUG_PRINTLN(F("Defaulf WiFi used."));
|
DEBUG_PRINTLN(F("Defaulf WiFi used."));
|
||||||
selectedWiFi = 0;
|
return 0;
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (doScan) WiFi.scanDelete(); // restart scan
|
if (doScan) WiFi.scanDelete(); // restart scan
|
||||||
|
Loading…
x
Reference in New Issue
Block a user