Revert "[wifi] Disable SoftAP support on Arduino ESP32 when ap: not configured" (#13099)
This commit is contained in:
1 parent
c40f44f4bd
commit
3d54ccac65
1 file changed
+1
-1
@@ -475,7 +475,7 @@ async def to_code(config):
|
||||
)
|
||||
cg.add(var.set_ap_timeout(conf[CONF_AP_TIMEOUT]))
|
||||
cg.add_define("USE_WIFI_AP")
|
||||
elif CORE.is_esp32:
|
||||
elif CORE.is_esp32 and not CORE.using_arduino:
|
||||
add_idf_sdkconfig_option("CONFIG_ESP_WIFI_SOFTAP_SUPPORT", False)
|
||||
add_idf_sdkconfig_option("CONFIG_LWIP_DHCPS", False)
|
||||
|
||||
|
||||
Reference in new issue
Block a user