give credit where credit is due

thanks iceman for the crc :)
This commit is contained in:
marshmellow42 committed 2015-03-13 14:00:11 -04:00
1 parent 9f7bbd24c9
commit e74fc2ecba
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -42,7 +42,8 @@ uint32_t crc_finish(crc_t *crc)
return ( crc->state ^ crc->final_xor ) & crc->mask;
}
uint32_t CRC8Maxim(uint8_t *buff, size_t size )
//credits to iceman
uint32_t CRC8Maxim(uint8_t *buff, size_t size)
{
crc_t crc;
crc_init(&crc, 9, 0x8c, 0x00, 0x00);