We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2da7105 commit 5d0241fCopy full SHA for 5d0241f
src/components/i2c/drivers/WipperSnapper_I2C_Driver_SGP30.h
@@ -44,11 +44,7 @@ class WipperSnapper_I2C_Driver_SGP30 : public WipperSnapper_I2C_Driver {
44
/*******************************************************************************/
45
bool begin() {
46
_sgp30 = new Adafruit_SGP30();
47
- bool isInit = _sgp30->begin(_i2c);
48
- if (isInit) {
49
- _sgp30->IAQinit();
50
- }
51
- return isInit;
+ return _sgp30->begin(_i2c);
52
}
53
54
bool getEventECO2(sensors_event_t *senseEvent) {
0 commit comments