diff options
Diffstat (limited to 'include/motion_sense.h')
-rw-r--r-- | include/motion_sense.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/motion_sense.h b/include/motion_sense.h index ff99c40af4..86d3e87ab8 100644 --- a/include/motion_sense.h +++ b/include/motion_sense.h @@ -56,7 +56,7 @@ struct motion_data_t { * */ unsigned odr; /* delay between collection by EC, in ms. - * For non FIFO sensor, should be nead 1e6/odr to + * For non FIFO sensor, should be need 1e6/odr to * collect events. * For sensor with FIFO, can be much longer. * 0: no collection. @@ -74,7 +74,7 @@ struct motion_sensor_t { const struct accelgyro_drv *drv; struct mutex *mutex; void *drv_data; - /* i2c address or SPI slage logic GPIO. */ + /* i2c address or SPI slave logic GPIO. */ uint8_t addr; const matrix_3x3_t *rot_standard_ref; @@ -92,8 +92,8 @@ struct motion_sensor_t { * --------+-------------------+-------------------+----------------- * From AP | <------- SENSOR_CONFIG_AP ----------> | * | Use for normal | While sleeping | Always disabled - * | operation: game, | iFor Activity | - * | screen rotatopm | Recognition | + * | operation: game, | For Activity | + * | screen rotation | Recognition | * --------+-------------------+-------------------+------------------ * From EC |SENSOR_CONFIG_EC_S0|SENSOR_CONFIG_EC_S3|SENSOR_CONFIG_EC_S5 * | Background | Gesture Recognition (Double tap, ...) @@ -122,7 +122,7 @@ struct motion_sensor_t { uint16_t lost; /* - * Time since iast collection: + * Time since last collection: * For sensor with hardware FIFO, time since last sample * has move from the hardware FIFO to the FIFO (used if fifo rate != 0). * For sensor without FIFO, time since the last event was collect |