hardware/include: Add the pressure to the sensor data structure
Add the pressure variable to the sensor.h file for barometer.
Change-Id: Ie05b65f9215639cee6dc3ae926a0cc07e673e5b6
Signed-off-by: Dan Murphy <wldm10@motorola.com>
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h
index 610651f..4bc81db 100644
--- a/include/hardware/sensors.h
+++ b/include/hardware/sensors.h
@@ -250,6 +250,9 @@
/* light in SI lux units */
float light;
+
+ /* pressure in hecto pascals */
+ float pressure;
};
/* time is in nanosecond */