OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd80b38
)
libhardware: add data field for proximity sensors
author
Iliyan Malchev
<malchev@google.com>
Wed, 8 Jul 2009 20:54:17 +0000
(13:54 -0700)
committer
Iliyan Malchev
<malchev@google.com>
Wed, 8 Jul 2009 20:54:17 +0000
(13:54 -0700)
Signed-off-by: Iliyan Malchev <malchev@google.com>
include/hardware/sensors.h
patch
|
blob
|
history
diff --git
a/include/hardware/sensors.h
b/include/hardware/sensors.h
index
a6bee56
..
a8e538d
100644
(file)
--- a/
include/hardware/sensors.h
+++ b/
include/hardware/sensors.h
@@
-216,6
+216,9
@@
typedef struct {
/* temperature is in degrees centigrade (Celsius) */
float temperature;
+
+ /* distance in centimeters */
+ float distance;
};
/* time is in nanosecond */