mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
LPS22HB: Fix invalid driver reset (I2C bus)
This commit is contained in:
committed by
Daniel Agar
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user