mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
use only espMqttClient queue
This commit is contained in:
@@ -493,7 +493,7 @@ void EMSESP::publish_all_loop() {
|
||||
}
|
||||
|
||||
// wait for free queue before sending next message, HA-messages are also queued
|
||||
if (!Mqtt::is_empty()) {
|
||||
if (Mqtt::publish_queued() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user