Store WiFi settings in flash
Fixes: https://github.com/espressif/arduino-esp32/issues/173
This commit is contained in:
parent
6a058275e7
commit
8df22cac80
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user