Test MQTT metric modified tx timer
This commit is contained in:
parent
ad786045ae
commit
c3cd9ba23e
|
@ -749,7 +749,7 @@ void OvmsServerV3::MetricModified(OvmsMetric* metric)
|
||||||
{
|
{
|
||||||
if (!StandardMetrics.ms_s_v3_connected->AsBool()) return;
|
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);
|
OvmsMutexLock mg(&m_mgconn_mutex);
|
||||||
if (!m_mgconn)
|
if (!m_mgconn)
|
||||||
|
|
Loading…
Reference in a new issue