Make same changes to other YSF frame types.

This commit is contained in:
Jonathan Naylor 2016-05-04 06:16:57 +01:00
parent b3ab18c70a
commit 3c5ae31a0d
2 changed files with 4 additions and 4 deletions

View file

@ -17,4 +17,4 @@ Split transmit and mode hang times.
System Fusion
-------------
Finish the callsign extraction from the header and trailer.
None known.

View file

@ -272,7 +272,7 @@ bool CYSFPayload::processVDMode1Data(unsigned char* data, unsigned char fn)
}
unsigned char output[23U];
conv.chainback(output, 180U);
conv.chainback(output, 176U);
bool ret = CCRC::checkCCITT162(output, 22U);
if (ret) {
@ -554,7 +554,7 @@ bool CYSFPayload::processDataFRModeData(unsigned char* data, unsigned char fn)
}
unsigned char output[23U];
conv.chainback(output, 180U);
conv.chainback(output, 176U);
bool ret1 = CCRC::checkCCITT162(output, 22U);
if (ret1) {
@ -635,7 +635,7 @@ bool CYSFPayload::processDataFRModeData(unsigned char* data, unsigned char fn)
conv.decode(s0, s1);
}
conv.chainback(output, 180U);
conv.chainback(output, 176U);
bool ret2 = CCRC::checkCCITT162(output, 22U);