Remove extra whitespace.

This commit is contained in:
Tim 'mithro' Ansell 2019-09-02 14:47:20 -07:00
parent c0e723868e
commit 083337441a
1 changed files with 3 additions and 3 deletions

View File

@ -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