Commit 7804bea0 authored by Pavel Vainerman's avatar Pavel Vainerman

(ModbusMaster): сделал так, чтобы в логах resp_state всегда выводился текущий,

независимо от того, привязан ли датчик связи.
parent a912367c
...@@ -3204,7 +3204,7 @@ void MBExchange::updateRespondSensors() ...@@ -3204,7 +3204,7 @@ void MBExchange::updateRespondSensors()
{ {
auto d(it1.second); auto d(it1.second);
if( d->resp_id != DefaultObjectId && d->checkRespond(mblog) ) if( d->checkRespond(mblog) && d->resp_id != DefaultObjectId )
{ {
try try
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment