Fix the CCITT16 checksums for CSBK, DMR Data and D-Star Headers.

This commit is contained in:
Jonathan Naylor
2016-02-18 21:56:26 +00:00
parent 9a3fe18e91
commit 63aa53c705
8 changed files with 96 additions and 56 deletions

View File

@@ -136,5 +136,5 @@ void CDStarHeader::get(unsigned char* header) const
::memcpy(header, m_header, DSTAR_HEADER_LENGTH_BYTES);
CCRC::addCCITT16(header, DSTAR_HEADER_LENGTH_BYTES);
CCRC::addCCITT161(header, DSTAR_HEADER_LENGTH_BYTES);
}