diff options
Diffstat (limited to 'common/motion_sense.c')
-rw-r--r-- | common/motion_sense.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/motion_sense.c b/common/motion_sense.c index 9601970f7b..4b4d996cc2 100644 --- a/common/motion_sense.c +++ b/common/motion_sense.c @@ -180,7 +180,9 @@ void motion_sense_fifo_add_data(struct ec_response_motion_sensor_data *data, struct motion_sensor_t *sensor, int valid_data, uint32_t time) { +#ifdef CONFIG_SENSOR_TIGHT_TIMESTAMPS motion_sense_insert_timestamp(time); +#endif motion_sense_fifo_add_unit(data, sensor, valid_data); } |