blob: c38bae40824d7aa861b4d0139646db9a2a26eddc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef CRC_H
#define CRC_H
#include <util/crc16.h>
static inline
uint16_t crc16(uint16_t crc, uint8_t data)
{
return _crc_ccitt_update(crc, data);
}
#endif /* CRC_H */
|