Commit ceedacdc authored by Pavel Vainerman's avatar Pavel Vainerman

(ModbusMaster): добавил ещё переменных в вывод отладочной информации

parent 2b468646
......@@ -499,7 +499,7 @@ const std::string MBTCPMultiMaster::MBSlaveInfo::getShortInfo() const
ostringstream s;
s << myname << " respond=" << respond
<< " (respond_id=" << respond_id << " respond_invert=" << respond_invert
<< " recv_timeout=" << recv_timeout
<< " recv_timeout=" << recv_timeout << " resp_force=" << respond_force
<< " use=" << use << " ignore=" << ignore << " priority=" << priority << ")";
return std::move(s.str());
......@@ -512,7 +512,7 @@ UniSetTypes::SimpleInfo* MBTCPMultiMaster::getInfo()
ostringstream inf;
inf << i->info << endl;
inf << "Gates: " << endl;
inf << "Gates: " << (checktime<=0 ? "/ check connections DISABLED /" : "") << endl;
for( const auto& m : mblist )
inf << " " << m.getShortInfo() << endl;
......
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