give credit where credit is due

thanks iceman for the crc :)
This commit is contained in:
marshmellow42 2015-03-13 14:00:11 -04:00
commit e74fc2ecba
2 changed files with 3 additions and 1 deletions

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);