From c8844123923f8b65f38a7d16aaac3e9ce774ce2c Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Tue, 13 Oct 2015 12:12:51 -0700 Subject: motion: fix spelling Fix various spelling errors. Command used: spell include/motion_sense.h | sort | uniq -c | \ grep -v -f ~/tmp/known_words | sort -n > /tmp/checking_spell Appended /tmp/checking_spell to ~/tmp/known_words to avoid C code. BRANCH=smaug TEST=compile BUG=none Change-Id: I39acfeaefef51d142a587940bccb02db86e87068 Signed-off-by: Gwendal Grignou Reviewed-on: https://chromium-review.googlesource.com/305570 Reviewed-by: Alec Berg --- include/motion_sense.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/motion_sense.h') 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 -- cgit v1.2.1