Fix some stylistic issues found by tools/nxstyle
This commit is contained in:
parent
9d0984e21e
commit
8d963e66cf
2
arch
2
arch
@ -1 +1 @@
|
||||
Subproject commit 1a44ba01975e3cfabc4294b055478aa5ea4684f6
|
||||
Subproject commit 94c884e5587e058cf65d7db352ea44203330db5a
|
@ -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--)
|
||||
|
Loading…
Reference in New Issue
Block a user