commit | f5a22bcfa64f4f33b5877cd44761363af952b768 | [log] [tgz] |
---|---|---|
author | Iliyan Malchev <malchev@google.com> | Wed Jul 08 13:54:17 2009 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Wed Jul 08 13:54:17 2009 -0700 |
tree | d95f5729f0c210d3914b6323eea7b03c02f76456 | |
parent | bd80b38f2945ac918f66fb336c149b28b9dd030e [diff] [blame] |
libhardware: add data field for proximity sensors Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h index a6bee56..a8e538d 100644 --- a/include/hardware/sensors.h +++ b/include/hardware/sensors.h
@@ -216,6 +216,9 @@ /* temperature is in degrees centigrade (Celsius) */ float temperature; + + /* distance in centimeters */ + float distance; }; /* time is in nanosecond */