We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df2b6b0 commit df71485Copy full SHA for df71485
src/components/i2c/WipperSnapper_I2C.cpp
@@ -709,7 +709,7 @@ bool WipperSnapper_Component_I2C::initI2CDevice(
709
_lps25hb->configureDriver(msgDeviceInitReq);
710
drivers.push_back(_lps25hb);
711
WS_DEBUG_PRINTLN("LPS25HB Sensor Initialized Successfully!");
712
- } else if (strcmp("lps28hb", msgDeviceInitReq->i2c_device_name) == 0) {
+ } else if (strcmp("lps28dfw", msgDeviceInitReq->i2c_device_name) == 0) {
713
_lps28hb = new WipperSnapper_I2C_Driver_LPS28DFW(this->_i2c, i2cAddress);
714
if (!_lps28hb->begin()) {
715
WS_DEBUG_PRINTLN("ERROR: Failed to initialize LPS28DFW Sensor!");
0 commit comments