diff options
author | Mathias Agopian <mathias@google.com> | 2013-01-28 17:54:41 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-01-28 17:54:41 -0800 |
commit | 2f276f555064a77fa449a3ac21aa06ea3c1b45ca (patch) | |
tree | 49641db5620b379cab6077b4c80e65b3b949f4eb /include/hardware/sensors.h | |
parent | 1df68b42ca1af4702e295858d9446edbf81421c6 (diff) | |
download | hardware_libhardware-2f276f555064a77fa449a3ac21aa06ea3c1b45ca.zip hardware_libhardware-2f276f555064a77fa449a3ac21aa06ea3c1b45ca.tar.gz hardware_libhardware-2f276f555064a77fa449a3ac21aa06ea3c1b45ca.tar.bz2 |
renamed sensor PEDOMETER to STEP_DETECTOR
pedometer was confusing.
Change-Id: Ib40c8034e9038f7153299aed4ee33a0a9f1e900e
Diffstat (limited to 'include/hardware/sensors.h')
-rw-r--r-- | include/hardware/sensors.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h index 71a621c..7e5cfe5 100644 --- a/include/hardware/sensors.h +++ b/include/hardware/sensors.h @@ -154,7 +154,7 @@ enum { * * Many sensor types are or can be implemented as virtual sensors from * physical sensors on the device. For instance the rotation vector sensor, - * orientation sensor, pedometer, step-counter, etc... + * orientation sensor, step-detector, step-counter, etc... * * From the point of view of this API these virtual sensors MUST appear as * real, individual sensors. It is the responsibility of the driver and HAL @@ -518,7 +518,7 @@ enum { /* - * SENSOR_TYPE_PEDOMETER + * SENSOR_TYPE_STEP_DETECTOR * trigger-mode: special * wake-up sensor: no * @@ -534,13 +534,13 @@ enum { * * This sensor must be low power. That is, if the step detection cannot be * done in hardware, this sensor should not be defined. Also, when the - * pedometer is activated and the accelerometer is not, only steps should + * step detector is activated and the accelerometer is not, only steps should * trigger interrupts (not accelerometer data). * * setDelay() has no impact on this sensor type */ -#define SENSOR_TYPE_PEDOMETER (18) +#define SENSOR_TYPE_STEP_DETECTOR (18) /* @@ -554,7 +554,7 @@ enum { * * The timestamp of the event is set to the time when the first step * for that event was taken. - * See SENSOR_TYPE_PEDOMETER for the signification of the time of a step. + * See SENSOR_TYPE_STEP_DETECTOR for the signification of the time of a step. * * The minimum size of the hardware's internal counter shall be 16 bits * (this restriction is here to avoid too frequent wake-ups when the |