remove comment

pull/68/head
SoulKa 2 years ago
parent 20fd0d44fb
commit 1177d80f35

@ -208,7 +208,7 @@ func calculateCRC8(data []byte) uint8 {
crc ^= b
for i := 0; i < 8; i++ {
if crc&0x80 != 0 {
crc = (crc << 1) ^ crc8Polynomial // 0x07 is the polynomial
crc = (crc << 1) ^ crc8Polynomial
} else {
crc <<= 1
}

Loading…
Cancel
Save