mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2024-11-05 15:41:17 -05:00
Fix Wires-X SEARCH last page
This commit is contained in:
parent
ae7cfe6140
commit
fcebeffff8
@ -829,7 +829,7 @@ void CWiresX::sendAllReply()
|
||||
unsigned int k = 1029U - offset;
|
||||
for(unsigned int i = 0U; i < k; i++)
|
||||
data[i + offset] = 0x20U;
|
||||
|
||||
|
||||
offset += k;
|
||||
|
||||
data[offset + 0U] = 0x03U; // End of data marker
|
||||
@ -913,6 +913,12 @@ void CWiresX::sendSearchReply()
|
||||
data[offset + 49U] = 0x0DU;
|
||||
}
|
||||
|
||||
unsigned int k = 1029U - offset;
|
||||
for(unsigned int i = 0U; i < k; i++)
|
||||
data[i + offset] = 0x20U;
|
||||
|
||||
offset += k;
|
||||
|
||||
data[offset + 0U] = 0x03U; // End of data marker
|
||||
data[offset + 1U] = CCRC::addCRC(data, offset + 1U);
|
||||
|
||||
|
@ -864,6 +864,12 @@ void CWiresX::sendSearchReply()
|
||||
data[offset + 49U] = 0x0DU;
|
||||
}
|
||||
|
||||
unsigned int k = 1029U - offset;
|
||||
for(unsigned int i = 0U; i < k; i++)
|
||||
data[i + offset] = 0x20U;
|
||||
|
||||
offset += k;
|
||||
|
||||
data[offset + 0U] = 0x03U; // End of data marker
|
||||
data[offset + 1U] = CCRC::addCRC(data, offset + 1U);
|
||||
|
||||
|
@ -864,6 +864,12 @@ void CWiresX::sendSearchReply()
|
||||
data[offset + 49U] = 0x0DU;
|
||||
}
|
||||
|
||||
unsigned int k = 1029U - offset;
|
||||
for(unsigned int i = 0U; i < k; i++)
|
||||
data[i + offset] = 0x20U;
|
||||
|
||||
offset += k;
|
||||
|
||||
data[offset + 0U] = 0x03U; // End of data marker
|
||||
data[offset + 1U] = CCRC::addCRC(data, offset + 1U);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user