[wifi] Disable SoftAP support on Arduino ESP32 when ap: not configured (#13076)

This commit is contained in:
J. Nick Koston
2026-01-08 10:51:58 -10:00
committed by GitHub
parent c9ab4ca018
commit eb5c4f34e2

View File

@@ -466,7 +466,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 and not CORE.using_arduino:
elif CORE.is_esp32:
add_idf_sdkconfig_option("CONFIG_ESP_WIFI_SOFTAP_SUPPORT", False)
add_idf_sdkconfig_option("CONFIG_LWIP_DHCPS", False)