diff --git a/src/components/i2c/WipperSnapper_I2C.cpp b/src/components/i2c/WipperSnapper_I2C.cpp index 44954dc45..ed5247a59 100644 --- a/src/components/i2c/WipperSnapper_I2C.cpp +++ b/src/components/i2c/WipperSnapper_I2C.cpp @@ -269,7 +269,8 @@ bool WipperSnapper_Component_I2C::initI2CDevice( _bmp388->configureDriver(msgDeviceInitReq); drivers.push_back(_bmp388); WS_DEBUG_PRINTLN("BMP388 Initialized Successfully!"); - } else if (strcmp("bme680", msgDeviceInitReq->i2c_device_name) == 0) { + } else if ((strcmp("bme680", msgDeviceInitReq->i2c_device_name) == 0) || + (strcmp("bme688", msgDeviceInitReq->i2c_device_name) == 0)) { _bme680 = new WipperSnapper_I2C_Driver_BME680(this->_i2c, i2cAddress); if (!_bme680->begin()) { WS_DEBUG_PRINTLN("ERROR: Failed to initialize BME680!");