@@ -63,43 +63,43 @@ class WipperSnapper_I2C_Driver_SGP30 : public WipperSnapper_I2C_Driver {
6363 return true ;
6464 }
6565
66- /* ******************************************************************************/
67- /* !
68- @brief Gets the most recently cached eCO2 reading.
66+ /* ******************************************************************************/
67+ /* !
68+ @brief Gets the most recently cached eCO2 reading.
6969
70- This value is updated in `fastTick()` at a ~1 Hz cadence
71- and returned directly here without re-triggering an I2C
72- transaction.
70+ This value is updated in `fastTick()` at a ~1 Hz cadence
71+ and returned directly here without re-triggering an I2C
72+ transaction.
7373
74- @param senseEvent
75- Pointer to an Adafruit Sensor event that will be populated
76- with the cached eCO2 value (in ppm).
74+ @param senseEvent
75+ Pointer to an Adafruit_Sensor event that will be populated
76+ with the cached eCO2 value (in ppm).
7777
78- @returns True if a cached value is available, False otherwise.
79- */
80- /* ******************************************************************************/
78+ @returns True if a cached value is available, False otherwise.
79+ */
80+ /* ******************************************************************************/
8181 bool getEventECO2 (sensors_event_t *senseEvent) override {
8282 if (!_sgp30)
8383 return false ;
8484 senseEvent->eCO2 = _eco2;
8585 return true ;
8686 }
8787
88- /* ******************************************************************************/
89- /* !
90- @brief Gets the most recently cached TVOC reading.
88+ /* ******************************************************************************/
89+ /* !
90+ @brief Gets the most recently cached TVOC reading.
9191
92- This value is updated in `fastTick()` at a ~1 Hz cadence
93- and returned directly here without re-triggering an I2C
94- transaction.
92+ This value is updated in `fastTick()` at a ~1 Hz cadence
93+ and returned directly here without re-triggering an I2C
94+ transaction.
9595
96- @param senseEvent
97- Pointer to an Adafruit Sensor event that will be populated
98- with the cached TVOC value (in ppb).
96+ @param senseEvent
97+ Pointer to an Adafruit_Sensor event that will be populated
98+ with the cached TVOC value (in ppb).
9999
100- @returns True if a cached value is available, False otherwise.
101- */
102- /* ******************************************************************************/
100+ @returns True if a cached value is available, False otherwise.
101+ */
102+ /* ******************************************************************************/
103103 bool getEventTVOC (sensors_event_t *senseEvent) override {
104104 if (!_sgp30)
105105 return false ;
0 commit comments