Fix some stylistic issues found by tools/nxstyle

This commit is contained in:
Gregory Nutt 2015-11-17 17:31:57 -06:00
parent 9d0984e21e
commit 8d963e66cf
2 changed files with 3 additions and 3 deletions

2
arch

@ -1 +1 @@
Subproject commit 1a44ba01975e3cfabc4294b055478aa5ea4684f6
Subproject commit 94c884e5587e058cf65d7db352ea44203330db5a

View File

@ -203,11 +203,11 @@ static uint8_t ms58xx_crc(FAR uint16_t *src, uint8_t crcIndex)
{
if (cnt % 2 == 1)
{
n_rem ^= (uint16_t)((src[cnt>>1]) & 0x00FF);
n_rem ^= (uint16_t)((src[cnt >> 1]) & 0x00ff);
}
else
{
n_rem ^= (uint16_t)(src[cnt>>1] >> 8);
n_rem ^= (uint16_t)(src[cnt >> 1] >> 8);
}
for (n_bit = 8; n_bit > 0; n_bit--)