BaroGlitch: use baro healthy()
This commit is contained in:
parent
280db8725a
commit
53b073148b
@ -65,7 +65,7 @@ void Baro_Glitch::check_alt()
|
||||
bool all_ok; // true if the new baro alt passes sanity checks
|
||||
|
||||
// exit immediately if baro is unhealthy
|
||||
if (!_baro.healthy) {
|
||||
if (!_baro.healthy()) {
|
||||
_flags.glitching = true;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user