mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Use CRC rather than simple checksum for EEPROM (#2517)
Use CRC rather than simple checksum for EEPROM
This commit is contained in:
parent
9c03b32114
commit
a77e424dec
3 changed files with 49 additions and 47 deletions
|
@ -140,5 +140,5 @@ static inline float constrainf(float amt, float low, float high)
|
|||
return amt;
|
||||
}
|
||||
uint16_t crc16_ccitt(uint16_t crc, unsigned char a);
|
||||
uint16_t crc16_ccitt_update(uint16_t crc, const void *data, uint32_t length);
|
||||
uint8_t crc8_dvb_s2(uint8_t crc, unsigned char a);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue