Add function to just change bootmode

This commit is contained in:
Mathieu Maret 2016-03-04 00:46:06 +01:00
parent fc619d7ac1
commit 037bab422e

View File

@ -88,6 +88,13 @@ int saveConfig(int bootMode, String ssid, String password, String host ) {
return 0;
}
int saveBootMode(int bootMode){
EEPROM.write(0,String(bootMode).charAt(0));
EEPROM.commit();
delay(100);
return 0;
}
void handleSave() {
String password;
String ssid;