mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
Plane: use all_healthy() for SYS_STATUS health
This commit is contained in:
parent
1c2a6deaaf
commit
ca431a47a6
@ -229,7 +229,7 @@ static NOINLINE void send_extended_status1(mavlink_channel_t chan)
|
||||
control_sensors_health &= ~MAV_SYS_STATUS_AHRS;
|
||||
}
|
||||
|
||||
if (barometer.healthy()) {
|
||||
if (barometer.all_healthy()) {
|
||||
control_sensors_health |= MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE;
|
||||
}
|
||||
if (g.compass_enabled && compass.healthy(0) && ahrs.use_compass()) {
|
||||
|
Loading…
Reference in New Issue
Block a user