disable tasks before ota update

This commit is contained in:
Yurii
2023-12-04 08:48:02 +03:00
parent c5434e0a45
commit 7740d9c4c7
2 changed files with 21 additions and 0 deletions

View File

@@ -97,6 +97,13 @@ void setup() {
tMain = new MainTask(true, 100);
Scheduler.start(tMain);
tWm
->addTaskForDisable(tMain)
->addTaskForDisable(tMqtt)
->addTaskForDisable(tOt)
->addTaskForDisable(tSensors)
->addTaskForDisable(tRegulator);
Scheduler.begin();
}