From 1177d80f35cb81897a3c5f8aa317456fe6110e2f Mon Sep 17 00:00:00 2001 From: SoulKa Date: Sun, 14 Jan 2024 21:19:16 +0100 Subject: [PATCH] remove comment --- aht20/aht20.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aht20/aht20.go b/aht20/aht20.go index 6b94043..00accbc 100644 --- a/aht20/aht20.go +++ b/aht20/aht20.go @@ -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 }