1
0
Fork 0

Fix the Wires-X sequence numbers.

ycs232-kbc
Jonathan Naylor 9 years ago committed by GitHub
parent 4d33cda164
commit 4ea0674be4

@ -338,7 +338,8 @@ void CWiresX::createReply(const unsigned char* data, unsigned int length)
payload.writeDataFRModeData1(m_csd1, buffer + 35U);
payload.writeDataFRModeData2(m_csd2, buffer + 35U);
buffer[34U] = seqNo++;
buffer[34U] = seqNo;
seqNo *= 2U;
m_network->write(buffer);
@ -385,7 +386,8 @@ void CWiresX::createReply(const unsigned char* data, unsigned int length)
fich.setBN(bn);
fich.encode(buffer + 35U);
buffer[34U] = seqNo++;
buffer[34U] = seqNo;
seqNo *= 2U;
m_network->write(buffer);

Loading…
Cancel
Save