Skip to content

Commit

Permalink
Fix compile issue on OSS
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Feb 10, 2024
1 parent 1a4c9c5 commit 03b0d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/YaSolR_Tasks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ Mycila::Task stopNetworkServicesTask = Mycila::Task("stopNetworkServicesTask", [
Mycila::Task otaPrepareTask = Mycila::Task("otaPrepareTask", [](void* params) {
Mycila::Logger.info(TAG, "Preparing OTA update...");
lightsTask.pause();
trialTask.pause();
mqttTask.pause();
publisherTask.pause();
output1Dimmer.end();
Expand All @@ -121,6 +120,7 @@ Mycila::Task otaPrepareTask = Mycila::Task("otaPrepareTask", [](void* params) {
Mycila::ZCD.end();
Mycila::MQTT.end();
#ifdef APP_VERSION_TRIAL
trialTask.pause();
Mycila::Trial.end();
#endif
}, Mycila::TaskType::ONCE).debugIf([]() { return Mycila::Logger.isDebugEnabled(); });
Expand Down

0 comments on commit 03b0d3e

Please sign in to comment.