Commit 08f298a9 authored by Pavel Vainerman's avatar Pavel Vainerman

(MTR): добавил вывод на экран исключения в функции прошивки MTR

parent 4315ee3b
......@@ -443,8 +443,10 @@ bool send_param( ModbusRTUMaster* mb, DataMap& dmap, ModbusRTU::ModbusAddr addr,
return true;
}
}
catch( ModbusRTU::mbException& ex )
catch( const ModbusRTU::mbException& ex )
{
if( verb )
cout << "(mtr-setup): save parameter error: " << ex << endl;
}
if( verb )
......
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