mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 13:16:32 +00:00
Merge pull request #5794 from pzgdiego/patch-1
fix bug with smartconfig
This commit is contained in:
commit
68c076147f
@ -159,6 +159,7 @@ void WifiConfig(uint8_t type)
|
||||
#ifdef USE_SMARTCONFIG
|
||||
else if (WIFI_SMARTCONFIG == wifi_config_type) {
|
||||
AddLog_P(LOG_LEVEL_INFO, S_LOG_WIFI, PSTR(D_WCFG_1_SMARTCONFIG " " D_ACTIVE_FOR_3_MINUTES));
|
||||
WiFi.mode(WIFI_STA); // Disable AP mode
|
||||
WiFi.beginSmartConfig();
|
||||
}
|
||||
#endif // USE_SMARTCONFIG
|
||||
|
Loading…
x
Reference in New Issue
Block a user