summaryrefslogtreecommitdiff
path: root/board/reef_mchp/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/reef_mchp/board.c')
-rw-r--r--board/reef_mchp/board.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/reef_mchp/board.c b/board/reef_mchp/board.c
index 39196cb308..0a40f5dd04 100644
--- a/board/reef_mchp/board.c
+++ b/board/reef_mchp/board.c
@@ -1023,7 +1023,10 @@ struct motion_sensor_t motion_sensors[] = {
.default_range = BIT(11), /* 16LSB / uT, fixed */
.rot_standard_ref = &mag_standard_ref,
.min_frequency = BMM150_MAG_MIN_FREQ,
+/* TODO(b/253292373): Remove when clang is fixed. */
+DISABLE_CLANG_WARNING("-Wshift-count-negative")
.max_frequency = BMM150_MAG_MAX_FREQ(SPECIAL),
+ENABLE_CLANG_WARNING("-Wshift-count-negative")
},
[BASE_BARO] = {
.name = "Base Baro",