summaryrefslogtreecommitdiff
path: root/include/motion_sense.h
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2015-11-19 10:00:33 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-11-19 16:28:03 -0800
commit87a60df71f24aca95a485662e30a94076c75b0e0 (patch)
treec8008701895fd5e9a2f5adc3e6575d5aa96582c8 /include/motion_sense.h
parent9d7f1674460ce8e1a9c2fab79909cfd3bc856807 (diff)
downloadchrome-ec-87a60df71f24aca95a485662e30a94076c75b0e0.tar.gz
motion: improve readability by adding units to variable names.
Throughout the code, there are comparison between frequency (in mHz) and period (in us). To improve readability, append units (_mhz, _us) after variable names. BRANCH=smaug BUG=none TEST=compile. Change-Id: Icc9c66d9f06c526fc3b74fd85ca9759b702ee416 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/313221 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include/motion_sense.h')
-rw-r--r--include/motion_sense.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/motion_sense.h b/include/motion_sense.h
index a840d8ce8b..cd830307e3 100644
--- a/include/motion_sense.h
+++ b/include/motion_sense.h
@@ -54,7 +54,7 @@ struct motion_data_t {
/*
* delay between collection by EC, in us.
- * For non FIFO sensor, should be need 1e6/odr to
+ * For non FIFO sensor, should be near 1e9/odr to
* collect events.
* For sensor with FIFO, can be much longer.
* 0: no collection.