diff --git a/arch b/arch index 1a44ba0197..94c884e558 160000 --- a/arch +++ b/arch @@ -1 +1 @@ -Subproject commit 1a44ba01975e3cfabc4294b055478aa5ea4684f6 +Subproject commit 94c884e5587e058cf65d7db352ea44203330db5a diff --git a/drivers/sensors/ms58xx.c b/drivers/sensors/ms58xx.c index 324a076444..86f69ea511 100644 --- a/drivers/sensors/ms58xx.c +++ b/drivers/sensors/ms58xx.c @@ -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--)