Überträgt lokale Änderungen (nl_crc8 unsigned-shift, docker.sh cd -P) in neuen Top-Level-Tree und entfernt altes ninlight-w600/

This commit is contained in:
Robin von Bülow
2026-09-21 14:35:22 +02:00
parent cc14efea01
commit 1c960ad5cc
713 changed files with 2 additions and 237792 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ uint8_t nl_crc8(const void *data, size_t len)
while (len--) {
crc ^= *p++;
for (int k = 0; k < 8; k++)
crc = (uint8_t)((crc & 0x80u) ? (crc << 1) ^ 0x07u : (crc << 1));
crc = (uint8_t)((crc & 0x80u) ? (int)(((unsigned)crc << 1) ^ 0x07u) : (int)((unsigned)crc << 1));
}
return crc;
}