diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-09-29 11:45:01 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-18 07:38:26 +0000 |
commit | 316f369f1cc859880485cab7dd760fa19b48e70d (patch) | |
tree | c35775e93a2cf61fac9b0f2a3490812807d145c9 /include/accelgyro.h | |
parent | 5d4846ee520b6f1e743a6e58537a2ab2fac0cafc (diff) | |
download | chrome-ec-316f369f1cc859880485cab7dd760fa19b48e70d.tar.gz |
samus: add tap for battery
Adds double tap detection for samus. When user double taps
in S3 or lower to show battery state of charge on lightbar.
BUG=chrome-os-partner:29041
BRANCH=samus
TEST=make buildall
Tap the lid in S3 or lower.
Change-Id: Ic5f4709bdee2472cb7e91717318337b04bae1fc8
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/221965
Reviewed-by: David Schneider <dnschneid@chromium.org>
Diffstat (limited to 'include/accelgyro.h')
-rw-r--r-- | include/accelgyro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/accelgyro.h b/include/accelgyro.h index 940a094d82..6118f6dc0c 100644 --- a/include/accelgyro.h +++ b/include/accelgyro.h @@ -71,7 +71,7 @@ struct accelgyro_drv { * Setter and getter methods for the sensor output data range. As the * ODR increases, the LPF roll-off frequency also increases. * @s Pointer to sensor data. - * @rate Output data rate (units are Hz) + * @rate Output data rate (units are milli-Hz) * @rnd Rounding flag. If true, it rounds up to nearest valid * value. Otherwise, it rounds down. * @return EC_SUCCESS if successful, non-zero if error. |