Victor segmentation and decode works; but clock detection is still terrible.

This commit is contained in:
David Given
2019-03-02 11:04:45 +01:00
parent e16a9f77f3
commit 38c1a8ebfa
6 changed files with 40 additions and 11 deletions

View File

@@ -4,6 +4,7 @@
#define CCITT_POLY 0x1021
#define BROTHER_POLY 0x000201
extern uint16_t sumBytes(const uint8_t* start, const uint8_t* end);
extern uint8_t xorBytes(const uint8_t* start, const uint8_t* end);
extern uint16_t crc16(uint16_t poly, const uint8_t* start, const uint8_t* end);
extern uint32_t crcbrother(const uint8_t* start, const uint8_t* end);