Aleena/Kasumi: Add LID sensor config in S0
Add LID sensor config in S0 for angle detection.
BRANCH=none
TEST=make buildall pass, check motion sense data update immediately.
@@ -387,6 +387,11 @@ struct motion_sensor_t motion_sensors[] = {
.max_frequency = KX022_ACCEL_MAX_FREQ,
.config = {
/* EC use accel for angle detection */
+ [SENSOR_CONFIG_EC_S0] = {
+ .odr = 10000 | ROUND_UP_FLAG,
+ .ec_rate = 100,
+ },
+ /* EC use accel for angle detection */
[SENSOR_CONFIG_EC_S3] = {
.odr = 10000 | ROUND_UP_FLAG,
},
