File tree 2 files changed +6
-5
lines changed 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -138,9 +138,10 @@ typedef struct {
138
138
float current; /* *< current in milliamps (mA) */
139
139
float voltage; /* *< voltage in volts (V) */
140
140
float tvoc; /* *< Total Volatile Organic Compounds, in ppb */
141
- int32_t voc_index; /* *< VOC (Volatile Organic Compound) index where 100 is
142
- normal */
143
- int32_t nox_index; /* *< NOx (Nitrogen Oxides) index where 100 is normal */
141
+ float voc_index; /* *< VOC (Volatile Organic Compound) index where 100 is
142
+ normal (unitless) */
143
+ float nox_index; /* *< NOx (Nitrogen Oxides) index where 100 is normal
144
+ (unitless) */
144
145
sensors_color_t color; /* *< color in RGB component values */
145
146
}; // /< Union for the wide ranges of data we can carry
146
147
} sensors_event_t ;
Original file line number Diff line number Diff line change @@ -141,8 +141,8 @@ typedef struct
141
141
float current;
142
142
float voltage;
143
143
float tvoc;
144
- int32_t voc_index;
145
- int32_t nox_index;
144
+ float voc_index;
145
+ float nox_index;
146
146
sensors_color_t color;
147
147
};
148
148
} sensors_event_t ;
You can’t perform that action at this time.
0 commit comments