Test MQTT metric modified tx timer

This commit is contained in:
Carsten Schmiemann 2022-05-23 22:06:24 +02:00
parent ad786045ae
commit c3cd9ba23e
1 changed files with 1 additions and 1 deletions

View File

@ -749,7 +749,7 @@ void OvmsServerV3::MetricModified(OvmsMetric* metric)
{
if (!StandardMetrics.ms_s_v3_connected->AsBool()) return;
if (m_streaming)
if (now > m_lasttx_stream+m_streaming) //Test counter without caron message
{
OvmsMutexLock mg(&m_mgconn_mutex);
if (!m_mgconn)