summaryrefslogtreecommitdiff
path: root/src/lib/eeze
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-04-11 11:21:07 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2013-04-11 13:11:08 +0100
commit7ccc9f20ba6a5fd56edf22129c955f0a9238233e (patch)
tree3aaaa895ec87a740eba96c4b44f18e7317488e86 /src/lib/eeze
parent61dbbbb4512227c9ea7ebcc0fd2d4e35462ecc4d (diff)
eeze/sensor: Use Eeze_Sensor_Type in sensor object.
We use the typedef everywhere else. This makes sure we also use it in the struct to avoid any confusion. The API is new for upcoming 1.8 release so no problem in changing it now.
Diffstat (limited to 'src/lib/eeze')
-rw-r--r--src/lib/eeze/Eeze_Sensor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eeze/Eeze_Sensor.h b/src/lib/eeze/Eeze_Sensor.h
index 8402604376..9825203875 100644
--- a/src/lib/eeze/Eeze_Sensor.h
+++ b/src/lib/eeze/Eeze_Sensor.h
@@ -142,7 +142,7 @@ EAPI int EEZE_SENSOR_EVENT_TEMPERATURE;
142 */ 142 */
143typedef struct _Eeze_Sensor_Obj 143typedef struct _Eeze_Sensor_Obj
144{ 144{
145 unsigned int type; /**< Sensor type see #Eeze_Sensor_Type */ 145 Eeze_Sensor_Type type; /**< Sensor type see #Eeze_Sensor_Type */
146 int accuracy; /**< Accuracy of the sensor value */ 146 int accuracy; /**< Accuracy of the sensor value */
147 float data[3]; /**< Sensor data depending on the sensor type */ 147 float data[3]; /**< Sensor data depending on the sensor type */
148 unsigned long long timestamp; /**< Timestamp of data read */ 148 unsigned long long timestamp; /**< Timestamp of data read */