mirror of https://github.com/arendst/Tasmota.git
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) {
|
||||
blinks++;
|
||||
}
|
||||
|
||||
yield(); // #3313
|
||||
}
|
||||
|
||||
void MqttPublish(const char* topic, boolean retained)
|
||||
|
|
Loading…
Reference in New Issue