LPS22HB: Fix invalid driver reset (I2C bus)

This commit is contained in:
dvornikov-aa 2018-12-27 19:39:08 +03:00 committed by Daniel Agar
parent 3a7deefe6e
commit ce0dd41a11
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}