pompom: detect lid angle in S3
This patch add a configuration of BASE_ACCEL
to read BASE_ACCEL values in S3
BRANCH=none
TEST=execute accelread in ec console
@@ -486,6 +486,10 @@ struct motion_sensor_t motion_sensors[] = {
[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] = {
