commit | 61fee89f2d50cc01c34930cda8f65f70aa23acc4 | [log] [tgz] |
---|---|---|
author | Iliyan Malchev <malchev@google.com> | Thu Aug 20 16:47:17 2009 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Thu Aug 20 16:47:17 2009 -0700 |
tree | 8f65a7879eaab33a47a2915f7608bb9477b2b1bb | |
parent | 2a8477c89915298be2b2a6297e45024a1e69c7ea [diff] [blame] |
libhardware: add a field for reporting light levels Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h index a8e538d..3be07b3 100644 --- a/include/hardware/sensors.h +++ b/include/hardware/sensors.h
@@ -219,6 +219,9 @@ /* distance in centimeters */ float distance; + + /* light in lux */ + float light; }; /* time is in nanosecond */