Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
hardware_libhardware
Commits
a7f2cda8
Commit
a7f2cda8
authored
10 years ago
by
Aravind Akella
Browse files
Options
Download
Email Patches
Plain Diff
Sensor HAL documentation fix.
Change-Id: Ibc3f643a22163f734ba0ca912f011decf55d9bfa
parent
772d85ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
include/hardware/sensors.h
include/hardware/sensors.h
+2
-0
No files found.
include/hardware/sensors.h
View file @
a7f2cda8
...
...
@@ -976,6 +976,8 @@ typedef struct sensors_poll_device_1 {
* 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
* 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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment