Add function to just change bootmode
This commit is contained in:
parent
fc619d7ac1
commit
037bab422e
@ -88,6 +88,13 @@ int saveConfig(int bootMode, String ssid, String password, String host ) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int saveBootMode(int bootMode){
|
||||||
|
EEPROM.write(0,String(bootMode).charAt(0));
|
||||||
|
EEPROM.commit();
|
||||||
|
delay(100);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
void handleSave() {
|
void handleSave() {
|
||||||
String password;
|
String password;
|
||||||
String ssid;
|
String ssid;
|
||||||
|
Loading…
Reference in New Issue
Block a user