mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Fix possible WDT
Fix possible WDT due to long MQTT publish handling (#3313)
This commit is contained in:
parent
ad949eba9d
commit
d7e6f6114a
@ -231,6 +231,8 @@ void MqttPublishDirect(const char* topic, boolean retained)
|
|||||||
if (Settings.ledstate &0x04) {
|
if (Settings.ledstate &0x04) {
|
||||||
blinks++;
|
blinks++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
yield(); // #3313
|
||||||
}
|
}
|
||||||
|
|
||||||
void MqttPublish(const char* topic, boolean retained)
|
void MqttPublish(const char* topic, boolean retained)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user