Merge pull request #1337 from tsparber/pr-ccittcrc-crlf

CCITT_CRC.java Change line endings from CRLF to LF
This commit is contained in:
Nicolas Tsiftes 2015-11-02 14:00:51 +01:00
commit 139f427458

View File

@ -63,7 +63,6 @@ public class CCITT_CRC {
return bitrev(crc >> 8);
}
public int add(int data) {
int newCrc = ((crc >> 8) & 0xff) | (crc << 8) & 0xffff;
newCrc ^= (data & 0xff);