Purging now also possible from WebUI

This commit is contained in:
Marcel Peterkau 2022-08-24 23:09:26 +02:00
parent e12971b971
commit e6a861185c

View File

@ -323,6 +323,11 @@ void WebserverPOST_Callback(AsyncWebServerRequest *request)
globals.requestEEAction = globals.requestEEAction == EE_PDS_FORMAT ? EE_FORMAT_ALL : EE_CFG_FORMAT;
}
}
if (p->name() == "purgenow")
{
globals.systemStatus = sysStat_Purge;
globals.purgePulses = LubeConfig.BleedingPulses;
}
// end: POST Form Maintenance
}
}