mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 15:09:23 +08:00
Make same changes to other YSF frame types.
This commit is contained in:
@@ -17,4 +17,4 @@ Split transmit and mode hang times.
|
|||||||
|
|
||||||
System Fusion
|
System Fusion
|
||||||
-------------
|
-------------
|
||||||
Finish the callsign extraction from the header and trailer.
|
None known.
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ bool CYSFPayload::processVDMode1Data(unsigned char* data, unsigned char fn)
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned char output[23U];
|
unsigned char output[23U];
|
||||||
conv.chainback(output, 180U);
|
conv.chainback(output, 176U);
|
||||||
|
|
||||||
bool ret = CCRC::checkCCITT162(output, 22U);
|
bool ret = CCRC::checkCCITT162(output, 22U);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
@@ -554,7 +554,7 @@ bool CYSFPayload::processDataFRModeData(unsigned char* data, unsigned char fn)
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned char output[23U];
|
unsigned char output[23U];
|
||||||
conv.chainback(output, 180U);
|
conv.chainback(output, 176U);
|
||||||
|
|
||||||
bool ret1 = CCRC::checkCCITT162(output, 22U);
|
bool ret1 = CCRC::checkCCITT162(output, 22U);
|
||||||
if (ret1) {
|
if (ret1) {
|
||||||
@@ -635,7 +635,7 @@ bool CYSFPayload::processDataFRModeData(unsigned char* data, unsigned char fn)
|
|||||||
conv.decode(s0, s1);
|
conv.decode(s0, s1);
|
||||||
}
|
}
|
||||||
|
|
||||||
conv.chainback(output, 180U);
|
conv.chainback(output, 176U);
|
||||||
|
|
||||||
bool ret2 = CCRC::checkCCITT162(output, 22U);
|
bool ret2 = CCRC::checkCCITT162(output, 22U);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user