Commit f19c0c4d authored by Pavel Vainerman's avatar Pavel Vainerman

(modbus0x08): исправил ошибку при обработке TCP ответа на 0x08

parent e79adfca
......@@ -462,8 +462,6 @@ mbErrCode ModbusClient::recv_pdu( ModbusByte qfunc, ModbusMessage& rbuf, timeout
case fnDiagnostics:
rbuf.len = DiagnosticRetMessage::szHead();
if( crcNoCheckit )
rbuf.len -= szCRC;
break;
case fnSetDateTime:
......
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