diff options
Diffstat (limited to 'crc/crc7.h')
-rw-r--r-- | crc/crc7.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/crc/crc7.h b/crc/crc7.h deleted file mode 100644 index 5d5d1888..00000000 --- a/crc/crc7.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef CRC7_H -#define CRC7_H - -extern const unsigned char crc7_syndrome_table[256]; - -static inline unsigned char crc7_byte(unsigned char crc, unsigned char data) -{ - return crc7_syndrome_table[(crc << 1) ^ data]; -} - -extern unsigned char fio_crc7(const unsigned char *buffer, unsigned int len); - -#endif |