File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,7 @@ typedef enum {
79
79
SENSOR_TYPE_PM25_ENV = (27 ),
80
80
SENSOR_TYPE_PM100_ENV = (28 ),
81
81
SENSOR_TYPE_GAS_RESISTANCE = (29 ),
82
- SENSOR_TYPE_LUX = (30 ),
83
- SENSOR_TYPE_UNITLESS_PERCENT = (31 )
82
+ SENSOR_TYPE_UNITLESS_PERCENT = (30 )
84
83
} sensors_type_t ;
85
84
86
85
/* * struct sensors_vec_s is used to return a vector in a common format. */
@@ -170,7 +169,6 @@ typedef struct {
170
169
million (ppm) */
171
170
float gas_resistance; /* *< Proportional to the amount of VOC particles in
172
171
the air (Ohms) */
173
- float lux; /* *< SI lux (Lux) */
174
172
float unitless_percent; /* *<Percentage, unit-less (%) */
175
173
sensors_color_t color; /* *< color in RGB component values */
176
174
}; // /< Union for the wide ranges of data we can carry
Original file line number Diff line number Diff line change @@ -86,7 +86,8 @@ typedef enum
86
86
SENSOR_TYPE_PM10_ENV = (26),
87
87
SENSOR_TYPE_PM25_ENV = (27),
88
88
SENSOR_TYPE_PM100_ENV = (28),
89
- SENSOR_TYPE_GAS_RESISTANCE = (29)
89
+ SENSOR_TYPE_GAS_RESISTANCE = (29),
90
+ SENSOR_TYPE_UNITLESS_PERCENT = (30)
90
91
} sensors_type_t ;
91
92
```
92
93
You can’t perform that action at this time.
0 commit comments