Redesign Statemachine

This commit is contained in:
Patrick Amrhein 2024-03-30 10:04:14 +01:00
parent 589b798f4d
commit 5afc97f7f8
4 changed files with 626 additions and 560 deletions

View file

@ -1158,7 +1158,6 @@ class RestApi {
mConfig->plugin.zeroExport.groups[group].Ki = jsonIn[F("Ki")];
mConfig->plugin.zeroExport.groups[group].Kd = jsonIn[F("Kd")];
// Global
mConfig->plugin.zeroExport.groups[group].stateLast = zeroExportState::INIT;
mConfig->plugin.zeroExport.groups[group].state = zeroExportState::INIT;
mConfig->plugin.zeroExport.groups[group].stateNext = zeroExportState::INIT;
mApp->saveSettings(false); // without reboot