Skip to content
Snippets Groups Projects
Commit ce0dd41a authored by dvornikov-aa's avatar dvornikov-aa Committed by Daniel Agar
Browse files

LPS22HB: Fix invalid driver reset (I2C bus)

parent 3a7deefe
No related branches found
No related tags found
No related merge requests found
...@@ -186,7 +186,7 @@ LPS22HB::reset() ...@@ -186,7 +186,7 @@ LPS22HB::reset()
{ {
int ret = PX4_ERROR; int ret = PX4_ERROR;
ret = write_reg(CTRL_REG2, BOOT | I2C_DIS | SWRESET); ret = write_reg(CTRL_REG2, BOOT | SWRESET);
return ret; return ret;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment