File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,8 @@ typedef enum {
66
66
SENSOR_TYPE_OBJECT_TEMPERATURE = (14 ),
67
67
SENSOR_TYPE_VOLTAGE = (15 ),
68
68
SENSOR_TYPE_CURRENT = (16 ),
69
- SENSOR_TYPE_COLOR = (17 )
69
+ SENSOR_TYPE_COLOR = (17 ),
70
+ SENSOR_TYPE_TVOC = (18 )
70
71
} sensors_type_t ;
71
72
72
73
/* * struct sensors_vec_s is used to return a vector in a common format. */
@@ -134,6 +135,7 @@ typedef struct {
134
135
float relative_humidity; /* *< relative humidity in percent */
135
136
float current; /* *< current in milliamps (mA) */
136
137
float voltage; /* *< voltage in volts (V) */
138
+ float tvoc; /* *< Total Volatile Organic Compounds, in ppb */
137
139
sensors_color_t color; /* *< color in RGB component values */
138
140
}; // /< Union for the wide ranges of data we can carry
139
141
} sensors_event_t ;
You can’t perform that action at this time.
0 commit comments