Fix possible WDT

Fix possible WDT due to long MQTT publish handling (#3313)
This commit is contained in:
Theo Arends 2018-07-24 18:40:13 +02:00
parent ad949eba9d
commit d7e6f6114a
1 changed files with 2 additions and 0 deletions

View File

@ -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)