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
bddabb6042
commit
77137844c3
@ -114,7 +114,7 @@ bool AP_Baro_BMP581::init()
|
||||
return false;
|
||||
}
|
||||
|
||||
if ((status & 0b10) == 0 || (status & 0b100) == 1) {
|
||||
if ((status & 0b10) == 0 || (status & 0b100)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user