8000 Store WiFi settings in flash · rkyymmt/arduino-esp32@8df22ca · GitHub
[go: up one dir, main page]

Skip to content

Commit 8df22ca

Browse files
committed
Store WiFi settings in flash
Fixes: espressif#173
1 parent 6a05827 commit 8df22ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/WiFiGeneric.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extern void initWiFi()
5959
tcpip_adapter_init();
6060
esp_event_loop_init(&WiFiGenericClass::_eventCallback, NULL);
6161
esp_wifi_init(&cfg);
62-
esp_wifi_set_storage(WIFI_STORAGE_RAM);
62+
esp_wifi_set_storage(WIFI_STORAGE_FLASH);
6363
_esp_wifi_initalized = true;
6464
}
6565

0 commit comments

Comments
 (0)
0