EEPROM reset-Function added to WebUI
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user