diff --git a/src/components/i2c/drivers/WipperSnapper_I2C_Driver_SGP30.h b/src/components/i2c/drivers/WipperSnapper_I2C_Driver_SGP30.h index 32da8a53a..664695191 100644 --- a/src/components/i2c/drivers/WipperSnapper_I2C_Driver_SGP30.h +++ b/src/components/i2c/drivers/WipperSnapper_I2C_Driver_SGP30.h @@ -44,11 +44,7 @@ class WipperSnapper_I2C_Driver_SGP30 : public WipperSnapper_I2C_Driver { /*******************************************************************************/ bool begin() { _sgp30 = new Adafruit_SGP30(); - bool isInit = _sgp30->begin(_i2c); - if (isInit) { - _sgp30->IAQinit(); - } - return isInit; + return _sgp30->begin(_i2c); } bool getEventECO2(sensors_event_t *senseEvent) {