mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-28 10:43:58 -04:00
AP_Baro: Fix BMP581 initialization error
This commit is contained in:
parent
43cdf1a03d
commit
aee973f4de
@ -114,7 +114,7 @@ bool AP_Baro_BMP581::init()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((status & 0b10) == 0 || (status & 0b100) == 1) {
|
if ((status & 0b10) == 0 || (status & 0b100)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user