CCITT_CRC.java Change line endings from CRLF to LF
and remove trailing whitespaces.
This commit is contained in:
parent
a5f21feb4f
commit
d817540f19
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue