提交 8df22cac 编写于 作者: M me-no-dev

Store WiFi settings in flash

Fixes: https://github.com/espressif/arduino-esp32/issues/173
上级 6a058275
......@@ -59,7 +59,7 @@ extern void initWiFi()
tcpip_adapter_init();
esp_event_loop_init(&WiFiGenericClass::_eventCallback, NULL);
esp_wifi_init(&cfg);
esp_wifi_set_storage(WIFI_STORAGE_RAM);
esp_wifi_set_storage(WIFI_STORAGE_FLASH);
_esp_wifi_initalized = true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册