Sensor HAL documentation fix.

Change-Id: Ibc3f643a22163f734ba0ca912f011decf55d9bfa
This commit is contained in:
Aravind Akella
2014-08-21 16:31:14 -07:00
parent 772d85ad35
commit a7f2cda848

View File

@@ -976,6 +976,8 @@ typedef struct sensors_poll_device_1 {
* event stream. This applies to all sensors other than one-shot sensors. * event stream. This applies to all sensors other than one-shot sensors.
* If the sensor is a one-shot sensor, flush must return -EINVAL and not generate * If the sensor is a one-shot sensor, flush must return -EINVAL and not generate
* any flush complete metadata. * any flush complete metadata.
* If the sensor is not active at the time flush() is called, flush() should return
* -EINVAL.
*/ */
int (*flush)(struct sensors_poll_device_1* dev, int sensor_handle); int (*flush)(struct sensors_poll_device_1* dev, int sensor_handle);