summaryrefslogtreecommitdiff
path: root/include/motion_sense.h
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2015-10-13 12:12:51 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-10-15 18:08:25 -0700
commitc8844123923f8b65f38a7d16aaac3e9ce774ce2c (patch)
treee215ab59da20c034075442e468ee64370d30afe6 /include/motion_sense.h
parent811f5482f04bd7173909516ea59a90deda6fc002 (diff)
downloadchrome-ec-c8844123923f8b65f38a7d16aaac3e9ce774ce2c.tar.gz
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 <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/305570 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include/motion_sense.h')
-rw-r--r--include/motion_sense.h10
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