1
0
Fork 0

Correct the sequence number calculation.

ycs232-kbc
Jonathan Naylor 8 years ago committed by GitHub
parent bc9d2a9860
commit f3360ee47a

@ -339,7 +339,7 @@ void CWiresX::createReply(const unsigned char* data, unsigned int length)
payload.writeDataFRModeData2(m_csd2, buffer + 35U);
buffer[34U] = seqNo;
seqNo *= 2U;
seqNo += 2U;
m_network->write(buffer);
@ -387,7 +387,7 @@ void CWiresX::createReply(const unsigned char* data, unsigned int length)
fich.encode(buffer + 35U);
buffer[34U] = seqNo;
seqNo *= 2U;
seqNo += 2U;
m_network->write(buffer);

Loading…
Cancel
Save