summaryrefslogtreecommitdiffstats
path: root/include/hardware/sensors.h
diff options
context:
space:
mode:
authorEtienne Le Grand <etn@google.com>2014-05-29 19:35:48 -0700
committerEtienne Le Grand <etn@google.com>2014-05-29 19:35:48 -0700
commit426f14df08abeeaa5addbf746d0ce8e81fbba31a (patch)
tree9641ac9d492d6f3830d2ffa92e316f85dc48b5ce /include/hardware/sensors.h
parent53017efa7b29990c8e9934a0cea27d62d454d055 (diff)
downloadhardware_libhardware-426f14df08abeeaa5addbf746d0ce8e81fbba31a.zip
hardware_libhardware-426f14df08abeeaa5addbf746d0ce8e81fbba31a.tar.gz
hardware_libhardware-426f14df08abeeaa5addbf746d0ce8e81fbba31a.tar.bz2
Rewording of tilt sensor
Change-Id: I7bb0e63c3e1e6850359d7e690bfeea9e8c8fbcbf
Diffstat (limited to 'include/hardware/sensors.h')
-rw-r--r--include/hardware/sensors.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h
index caf0ea0..91aa111 100644
--- a/include/hardware/sensors.h
+++ b/include/hardware/sensors.h
@@ -522,11 +522,11 @@ enum {
* A sensor of this type generates an event each time a tilt event is detected. A tilt event
* should be generated if the direction of the 2-seconds window average gravity changed by at least
* 35 degrees since the activation or the last trigger of the sensor.
- * initial_estimated_gravity = average of accelerometer measurements over the first
+ * reference_estimated_gravity = average of accelerometer measurements over the first
* 1 second after activation or the estimated gravity at the last
* trigger.
* current_estimated_gravity = average of accelerometer measurements over the last 2 seconds.
- * trigger when angle (initial_estimated_gravity, current_estimated_gravity) > 35 degrees
+ * trigger when angle (reference_estimated_gravity, current_estimated_gravity) > 35 degrees
*
* Large accelerations without a change in phone orientation should not trigger a tilt event.
* For example, a sharp turn or strong acceleration while driving a car should not trigger a tilt