Fix CRC-8 lookup table data type
parent
dbecb39e0b
commit
0b82b05566
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
//CRC-8/NRSC-5 lookup table
|
||||
|
||||
const QVector<quint8> crc8LookupTable = {
|
||||
static const quint8 crc8LookupTable[256] = {
|
||||
0x00, 0x31, 0x62, 0x53, 0xc4, 0xf5, 0xa6, 0x97,
|
||||
0xb9, 0x88, 0xdb, 0xea, 0x7d, 0x4c, 0x1f, 0x2e,
|
||||
0x43, 0x72, 0x21, 0x10, 0x87, 0xb6, 0xe5, 0xd4,
|
||||
|
|
|
|||
Loading…
Reference in New Issue