Skip to content

Commit 9ac81f2

Browse files
committed
Beautified code
1 parent 9d44b3e commit 9ac81f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BARO.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void LPS22HBClass::disableInterruptPin()
121121
uint8_t interrupt_cfg = (i2cRead(LPS22HB_INTERRUPT_CFG_REG) & 0b11110111); // Enable DIFF_EN
122122
i2cWrite(LPS22HB_INTERRUPT_CFG_REG, interrupt_cfg);
123123
uint8_t INT_DRDY_reg = (i2cRead(0x12) & 0b1111101); // INT_S
124-
i2cWrite(0x12, INT_DRDY_reg);
124+
i2cWrite(0x12, INT_DRDY_reg);
125125
}
126126

127127
void LPS22HBClass::setThreshold(uint16_t newThold)

0 commit comments

Comments
 (0)