forked from Archive/PX4-Autopilot
LPS22HB: Fix invalid driver reset (I2C bus)
This commit is contained in:
parent
3a7deefe6e
commit
ce0dd41a11
|
@ -186,7 +186,7 @@ LPS22HB::reset()
|
|||
{
|
||||
int ret = PX4_ERROR;
|
||||
|
||||
ret = write_reg(CTRL_REG2, BOOT | I2C_DIS | SWRESET);
|
||||
ret = write_reg(CTRL_REG2, BOOT | SWRESET);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue