forked from enlightenment/efl
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.
This commit is contained in:
parent
61dbbbb451
commit
7ccc9f20ba
|
@ -142,7 +142,7 @@ EAPI int EEZE_SENSOR_EVENT_TEMPERATURE;
|
|||
*/
|
||||
typedef struct _Eeze_Sensor_Obj
|
||||
{
|
||||
unsigned int type; /**< Sensor type see #Eeze_Sensor_Type */
|
||||
Eeze_Sensor_Type type; /**< Sensor type see #Eeze_Sensor_Type */
|
||||
int accuracy; /**< Accuracy of the sensor value */
|
||||
float data[3]; /**< Sensor data depending on the sensor type */
|
||||
unsigned long long timestamp; /**< Timestamp of data read */
|
||||
|
|
Loading…
Reference in New Issue