Commit ab2a07ac authored by Pavel Vainerman's avatar Pavel Vainerman

fixed bug in previous commit (ModbusTCP)

parent ecffea60
...@@ -43,8 +43,6 @@ mbErrCode ModbusTCPMaster::sendData( unsigned char* buf, int len ) ...@@ -43,8 +43,6 @@ mbErrCode ModbusTCPMaster::sendData( unsigned char* buf, int len )
return ModbusTCPCore::sendData(buf,len,tcp); return ModbusTCPCore::sendData(buf,len,tcp);
} }
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
int ModbusTCPMaster::nTransaction = 0;
mbErrCode ModbusTCPMaster::query( ModbusAddr addr, ModbusMessage& msg, mbErrCode ModbusTCPMaster::query( ModbusAddr addr, ModbusMessage& msg,
ModbusMessage& reply, timeout_t timeout ) ModbusMessage& reply, timeout_t 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