From 8f564ccb6dc6eeaf35574158d30cd6d912655027 Mon Sep 17 00:00:00 2001 From: Adrian Soundy Date: Sat, 5 Jun 2021 11:34:18 +1200 Subject: [PATCH] Enable SmartConfig (#1943) --- .../ESP32_WROOM_32/Network/Esp32_Wireless.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/targets/FreeRTOS_ESP32/ESP32_WROOM_32/Network/Esp32_Wireless.cpp b/targets/FreeRTOS_ESP32/ESP32_WROOM_32/Network/Esp32_Wireless.cpp index e84b73209a..93d48f39a2 100644 --- a/targets/FreeRTOS_ESP32/ESP32_WROOM_32/Network/Esp32_Wireless.cpp +++ b/targets/FreeRTOS_ESP32/ESP32_WROOM_32/Network/Esp32_Wireless.cpp @@ -217,12 +217,8 @@ int Esp32_Wireless_Open(int index, HAL_Configuration_NetworkInterface *pConfig) if (pWireless->Options & Wireless80211Configuration_ConfigurationOptions_SmartConfig) { - // FIXME - // Disable for now, When the smart_config starts it scans for wireless AP - // If it doesn't find any AP it ends up with a exception which causes the device to restart - // Start Smart config (if enabled) - // Start_wifi_smart_config(); + Start_wifi_smart_config(); } return Esp32_Wait_NetNumber(ESP_IF_WIFI_STA);