open settings readonly on wifi setup
This commit is contained in:
parent
15a3e88358
commit
d855d95898
@ -231,7 +231,7 @@ void handleNotFound() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void WifiSetup() {
|
void WifiSetup() {
|
||||||
preferences.begin("my-app", false);
|
preferences.begin("my-app", true);
|
||||||
ssid = preferences.getString("ssid", ssid);
|
ssid = preferences.getString("ssid", ssid);
|
||||||
password = preferences.getString("password", password);
|
password = preferences.getString("password", password);
|
||||||
preferences.end();
|
preferences.end();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user