Skip to content

Commit

Permalink
fix: dont send mqtt status twice during single activity
Browse files Browse the repository at this point in the history
  • Loading branch information
pimlie committed Sep 2, 2024
1 parent 7ae44e5 commit 35f3401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ void sendMQTTStatusTask(void *param)
void startMQTTStatusTask()
{
mqttWaiting = true;
mqttRun = true;
mqttRun = false;
mqttKill = false;

xTaskCreate(
Expand Down

0 comments on commit 35f3401

Please sign in to comment.