diff --git a/src/system.cpp b/src/system.cpp index 39e005b27..b63079f6e 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -279,7 +279,7 @@ void System::send_heartbeat() { doc["adc"] = analog_; } - Mqtt::publish_retain(F("heartbeat"), doc.as(), false); // send to MQTT with retain off. This will add to MQTT queue. + Mqtt::publish(F("heartbeat"), doc.as()); // send to MQTT with retain off. This will add to MQTT queue. } // measure and moving average adc