summaryrefslogtreecommitdiff
path: root/board/kunimitsu/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/kunimitsu/board.c')
-rw-r--r--board/kunimitsu/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/kunimitsu/board.c b/board/kunimitsu/board.c
index 07c561715e..287e4bcd91 100644
--- a/board/kunimitsu/board.c
+++ b/board/kunimitsu/board.c
@@ -248,7 +248,7 @@ struct motion_sensor_t motion_sensors[] = {
/* EC use accel for angle detection */
[SENSOR_CONFIG_EC_S0] = {
.odr = 100000 | ROUND_UP_FLAG,
- .ec_rate = 100,
+ .ec_rate = 100 * MSEC,
},
/* Sensor off in S3/S5 */
[SENSOR_CONFIG_EC_S3] = {
@@ -282,7 +282,7 @@ struct motion_sensor_t motion_sensors[] = {
/* EC use accel for angle detection */
[SENSOR_CONFIG_EC_S0] = {
.odr = 100000 | ROUND_UP_FLAG,
- .ec_rate = 100,
+ .ec_rate = 100 * MSEC,
},
/* Sensor off in S3/S5 */
[SENSOR_CONFIG_EC_S3] = {