Merge pull request #4903 from DedeHai/ESPNOW_AP-mode_fix
remove early return from initconnection()
This commit is contained in:
commit
f9a8b3021f
@ -670,7 +670,6 @@ void WLED::initConnection()
|
|||||||
if (!WLED_WIFI_CONFIGURED) {
|
if (!WLED_WIFI_CONFIGURED) {
|
||||||
DEBUG_PRINTLN(F("No connection configured."));
|
DEBUG_PRINTLN(F("No connection configured."));
|
||||||
if (!apActive) initAP(); // instantly go to ap mode
|
if (!apActive) initAP(); // instantly go to ap mode
|
||||||
return;
|
|
||||||
} else if (!apActive) {
|
} else if (!apActive) {
|
||||||
if (apBehavior == AP_BEHAVIOR_ALWAYS) {
|
if (apBehavior == AP_BEHAVIOR_ALWAYS) {
|
||||||
DEBUG_PRINTLN(F("Access point ALWAYS enabled."));
|
DEBUG_PRINTLN(F("Access point ALWAYS enabled."));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user