Skip to content

Instantly share code, notes, and snippets.

Avatar

Serge hunternsk

  • Novosibirsk
View GitHub Profile
@hunternsk
hunternsk / crc.c
Last active Jan 18, 2020
CRC-8-SAE J1850 test
View crc.c
// gcc crc.c -std=c99 -o crctest
#include <inttypes.h>
#include <stdio.h>
uint8_t crcTable[256];
uint8_t CalcCRC(uint8_t * buf, uint8_t len);
void CRCInit(void);
You can’t perform that action at this time.