We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f1c1c0 + 5866f75 commit 1826ff0Copy full SHA for 1826ff0
components/esp8266/source/esp_wifi.c
@@ -20,7 +20,12 @@
20
#include "phy.h"
21
22
const size_t _g_esp_wifi_ppt_task_stk_size = CONFIG_WIFI_PPT_TASKSTACK_SIZE;
23
-const bool _g_esp_wifi_connect_open_router_when_pwd_is_set = CONFIG_ESP8266_WIFI_CONNECT_OPEN_ROUTER_WHEN_PWD_IS_SET;
+
24
+#if CONFIG_ESP8266_WIFI_CONNECT_OPEN_ROUTER_WHEN_PWD_IS_SET
25
+const bool _g_esp_wifi_connect_open_router_when_pwd_is_set = true;
26
+#else
27
+const bool _g_esp_wifi_connect_open_router_when_pwd_is_set = false;
28
+#endif
29
30
esp_err_t esp_wifi_init_internal(const wifi_init_config_t *config);
31
0 commit comments