summaryrefslogtreecommitdiff
path: root/include/motion_sense.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/motion_sense.h')
-rw-r--r--include/motion_sense.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/motion_sense.h b/include/motion_sense.h
index 89203dd040..b16c309db7 100644
--- a/include/motion_sense.h
+++ b/include/motion_sense.h
@@ -49,15 +49,15 @@ struct motion_data_t {
/*
* data rate the sensor will measure, in mHz: 0 suspended.
* MSB is used to know if we are rounding up.
- * */
- unsigned odr;
- /* delay between collection by EC, in ms.
+ */
+ unsigned int odr;
+ /* delay between collection by EC, in us.
* For non FIFO sensor, should be need 1e6/odr to
* collect events.
* For sensor with FIFO, can be much longer.
* 0: no collection.
*/
- unsigned short ec_rate;
+ unsigned int ec_rate;
};
struct motion_sensor_t {