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 28dff4e commit 32f85f7Copy full SHA for 32f85f7
src/components/i2c/WipperSnapper_I2C.cpp
@@ -537,7 +537,8 @@ bool WipperSnapper_Component_I2C::initI2CDevice(
537
_mcp9808->configureDriver(msgDeviceInitReq);
538
drivers.push_back(_mcp9808);
539
WS_DEBUG_PRINTLN("MCP9808 Initialized Successfully!");
540
- } else if (strcmp("mlx90632d_med", msgDeviceInitReq->i2c_device_name) == 0) {
+ } else if (strcmp("mlx90632b", msgDeviceInitReq->i2c_device_name) == 0 ||
541
+ strcmp("mlx90632d_med", msgDeviceInitReq->i2c_device_name) == 0) {
542
_mlx90632d = new WipperSnapper_I2C_Driver_MLX90632D(this->_i2c, i2cAddress);
543
if (!_mlx90632d->begin()) {
544
WS_DEBUG_PRINTLN("ERROR: Failed to initialize MLX90632!");
0 commit comments