EEPROM reset-Function added to WebUI

This commit is contained in:
2022-08-22 14:28:32 +02:00
parent 6ffe239cae
commit 2ada3d9a61
3 changed files with 58 additions and 27 deletions

View File

@@ -308,6 +308,15 @@ void WebserverPOST_Callback(AsyncWebServerRequest *request)
PersistenceData.tankRemain_µl = LubeConfig.tankCapacity_ml * 1000;
globals.requestEEAction = EE_PDS_SAVE;
}
if (p->name() == "reset_ee_cfg")
{
globals.requestEEAction = EE_CFG_FORMAT;
}
if (p->name() == "reset_ee_pds")
{
globals.requestEEAction = EE_PDS_FORMAT;
}
// end: POST Form Maintenance
}
}