Remove extra whitespace.
This commit is contained in:
parent
c0e723868e
commit
083337441a
|
@ -38,11 +38,11 @@ static const unsigned int crc16_table[256] = {
|
|||
unsigned short crc16(const unsigned char *buffer, int len)
|
||||
{
|
||||
unsigned short crc;
|
||||
|
||||
|
||||
crc = 0;
|
||||
while(len-- > 0)
|
||||
crc = crc16_table[((crc >> 8) ^ (*buffer++)) & 0xFF] ^ (crc << 8);
|
||||
|
||||
|
||||
return crc;
|
||||
}
|
||||
#else
|
||||
|
@ -57,4 +57,4 @@ unsigned short crc16(const unsigned char* data_p, int length) {
|
|||
}
|
||||
return crc;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue