File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -138,9 +138,10 @@ typedef struct {
138138 float current; /* *< current in milliamps (mA) */
139139 float voltage; /* *< voltage in volts (V) */
140140 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) */
144145 sensors_color_t color; /* *< color in RGB component values */
145146 }; // /< Union for the wide ranges of data we can carry
146147} sensors_event_t ;
Original file line number Diff line number Diff line change @@ -141,8 +141,8 @@ typedef struct
141141 float current;
142142 float voltage;
143143 float tvoc;
144- int32_t voc_index;
145- int32_t nox_index;
144+ float voc_index;
145+ float nox_index;
146146 sensors_color_t color;
147147 };
148148} sensors_event_t ;
You can’t perform that action at this time.
0 commit comments