summaryrefslogtreecommitdiff
path: root/board/eve/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/eve/board.c')
-rw-r--r--board/eve/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/eve/board.c b/board/eve/board.c
index 9b7395b039..3f5da1a83a 100644
--- a/board/eve/board.c
+++ b/board/eve/board.c
@@ -14,6 +14,7 @@
#include "charge_ramp.h"
#include "charger.h"
#include "chipset.h"
+#include "compiler.h"
#include "console.h"
#include "device_event.h"
#include "driver/accel_kionix.h"
@@ -966,7 +967,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")
},
[LID_LIGHT] = {