diff --git a/sonoff/xdrv_01_mqtt.ino b/sonoff/xdrv_01_mqtt.ino index 4bfff0724..8afcf672b 100644 --- a/sonoff/xdrv_01_mqtt.ino +++ b/sonoff/xdrv_01_mqtt.ino @@ -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)