diff options
Diffstat (limited to 'board/elm/board.c')
-rw-r--r-- | board/elm/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/elm/board.c b/board/elm/board.c index 4076979b4a..e6734bd4ad 100644 --- a/board/elm/board.c +++ b/board/elm/board.c @@ -512,6 +512,8 @@ struct motion_sensor_t motion_sensors[] = { .addr = 1, /* SPI, device ID 0 */ .rot_standard_ref = &base_standard_ref, .default_range = 2, /* g, enough for laptop. */ + .min_frequency = KX022_ACCEL_MIN_FREQ, + .max_frequency = KX022_ACCEL_MAX_FREQ, .config = { /* AP: by default use EC settings */ [SENSOR_CONFIG_AP] = { @@ -546,6 +548,8 @@ struct motion_sensor_t motion_sensors[] = { .addr = 3, /* SPI, device ID 1 */ .rot_standard_ref = &lid_standard_ref, .default_range = 2, /* g, enough for laptop. */ + .min_frequency = KX022_ACCEL_MIN_FREQ, + .max_frequency = KX022_ACCEL_MAX_FREQ, .config = { /* AP: by default use EC settings */ [SENSOR_CONFIG_AP] = { |