mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-13 19:54:28 +05:00
disable tasks before ota update
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user