Skip to content

Commit

Permalink
clang tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth authored Dec 15, 2022
1 parent 7d15c6f commit ab0e94c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Adafruit_Sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,11 @@ typedef struct {
float current; /**< current in milliamps (mA) */
float voltage; /**< voltage in volts (V) */
float tvoc; /**< Total Volatile Organic Compounds, in ppb */
int32_t voc_index; /**< VOC (Volatile Organic Compound) index where 100 is normal */
int32_t nox_index; /**< NOx (Nitrogen Oxides) index where 100 is normal */
sensors_color_t color; /**< color in RGB component values */
}; ///< Union for the wide ranges of data we can carry
int32_t voc_index; /**< VOC (Volatile Organic Compound) index where 100 is
normal */
int32_t nox_index; /**< NOx (Nitrogen Oxides) index where 100 is normal */
sensors_color_t color; /**< color in RGB component values */
}; ///< Union for the wide ranges of data we can carry
} sensors_event_t;

/* Sensor details (40 bytes) */
Expand Down

0 comments on commit ab0e94c

Please sign in to comment.