pub fn calculate_crc(data: &[u8], extra_crc: u8) -> u16
Expand description
Calculates the CRC checksum of a messages header, payload and the CRC_EXTRA byte.
pub fn calculate_crc(data: &[u8], extra_crc: u8) -> u16
Calculates the CRC checksum of a messages header, payload and the CRC_EXTRA byte.