mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 03:43:33 +08:00
cm8jl65: add comment which CRC is used
This commit is contained in:
@@ -105,6 +105,7 @@ static const unsigned char crc_lsb_vector[] = {
|
|||||||
|
|
||||||
unsigned short crc16_calc(unsigned char *data_frame, uint8_t crc16_length)
|
unsigned short crc16_calc(unsigned char *data_frame, uint8_t crc16_length)
|
||||||
{
|
{
|
||||||
|
// compute CRC16 IBM 8005
|
||||||
unsigned char crc_high_byte = 0xFF;
|
unsigned char crc_high_byte = 0xFF;
|
||||||
unsigned char crc_low_byte = 0xFF;
|
unsigned char crc_low_byte = 0xFF;
|
||||||
int i;
|
int i;
|
||||||
|
|||||||
Reference in New Issue
Block a user