Correct the sequence number calculation.
This commit is contained in:
parent
bc9d2a9860
commit
f3360ee47a
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue