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 9d44b3e commit 9ac81f2Copy full SHA for 9ac81f2
src/BARO.cpp
@@ -121,7 +121,7 @@ void LPS22HBClass::disableInterruptPin()
121
uint8_t interrupt_cfg = (i2cRead(LPS22HB_INTERRUPT_CFG_REG) & 0b11110111); // Enable DIFF_EN
122
i2cWrite(LPS22HB_INTERRUPT_CFG_REG, interrupt_cfg);
123
uint8_t INT_DRDY_reg = (i2cRead(0x12) & 0b1111101); // INT_S
124
- i2cWrite(0x12, INT_DRDY_reg);
+ i2cWrite(0x12, INT_DRDY_reg);
125
}
126
127
void LPS22HBClass::setThreshold(uint16_t newThold)
0 commit comments