diff options
Diffstat (limited to 'board/samus/board.c')
-rw-r--r-- | board/samus/board.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/board/samus/board.c b/board/samus/board.c index 83b9b58309..84cadf1042 100644 --- a/board/samus/board.c +++ b/board/samus/board.c @@ -321,16 +321,16 @@ struct motion_sensor_t motion_sensors[] = { /* EC use accel for angle detection */ [SENSOR_CONFIG_EC_S0] = { .odr = 119000 | ROUND_UP_FLAG, - .ec_rate = 100, + .ec_rate = 100 * MSEC, }, /* Used for double tap */ [SENSOR_CONFIG_EC_S3] = { .odr = TAP_ODR | ROUND_UP_FLAG, - .ec_rate = CONFIG_GESTURE_SAMPLING_INTERVAL_MS + .ec_rate = CONFIG_GESTURE_SAMPLING_INTERVAL_MS * MSEC, }, [SENSOR_CONFIG_EC_S5] = { .odr = TAP_ODR | ROUND_UP_FLAG, - .ec_rate = CONFIG_GESTURE_SAMPLING_INTERVAL_MS + .ec_rate = CONFIG_GESTURE_SAMPLING_INTERVAL_MS * MSEC, }, }, }, @@ -355,7 +355,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, }, /* unused */ [SENSOR_CONFIG_EC_S3] = { @@ -389,7 +389,7 @@ struct motion_sensor_t motion_sensors[] = { /* EC use accel for angle detection */ [SENSOR_CONFIG_EC_S0] = { .odr = 119000 | ROUND_UP_FLAG, - .ec_rate = 100, + .ec_rate = 100 * MSEC, }, /* unused */ [SENSOR_CONFIG_EC_S3] = { |