summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/lazor/board.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/board/lazor/board.c b/board/lazor/board.c
index 366c1acfc6..e4792f2783 100644
--- a/board/lazor/board.c
+++ b/board/lazor/board.c
@@ -335,9 +335,14 @@ struct motion_sensor_t motion_sensors[] = {
.min_frequency = BMI_ACCEL_MIN_FREQ,
.max_frequency = BMI_ACCEL_MAX_FREQ,
.config = {
- [SENSOR_CONFIG_EC_S0] = {
- .odr = 10000 | ROUND_UP_FLAG,
- },
+ /* EC use accel for angle detection */
+ [SENSOR_CONFIG_EC_S0] = {
+ .odr = 10000 | ROUND_UP_FLAG,
+ },
+ /* Sensor on for lid angle detection */
+ [SENSOR_CONFIG_EC_S3] = {
+ .odr = 10000 | ROUND_UP_FLAG,
+ },
},
},
[BASE_GYRO] = {