Commit 2665298b authored by Pavel Vainerman's avatar Pavel Vainerman

(ModbusRTU): добавил включение низкоуровнего лога обмена при --dlog-add-levels level9

parent 22f0c4e5
......@@ -122,7 +122,8 @@ ModbusClient* RTUExchange::initMB( bool reopen )
if( defSpeed != ComPort::ComSpeed0 )
mbrtu->setSpeed(defSpeed);
// mb->setLog(dlog);
if( dlog.debugging(Debug::LEVEL9) )
mb->setLog(dlog);
if( recv_timeout > 0 )
mbrtu->setTimeout(recv_timeout);
......
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