|
|
@ -187,7 +187,7 @@ static NOINLINE void send_extended_status1(mavlink_channel_t chan) |
|
|
|
MAV_SYS_STATUS_SENSOR_3D_MAG | |
|
|
|
MAV_SYS_STATUS_SENSOR_3D_MAG | |
|
|
|
MAV_SYS_STATUS_SENSOR_GPS | |
|
|
|
MAV_SYS_STATUS_SENSOR_GPS | |
|
|
|
MAV_SYS_STATUS_SENSOR_RC_RECEIVER); |
|
|
|
MAV_SYS_STATUS_SENSOR_RC_RECEIVER); |
|
|
|
if (barometer.healthy) { |
|
|
|
if (barometer.healthy()) { |
|
|
|
control_sensors_health |= MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE; |
|
|
|
control_sensors_health |= MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE; |
|
|
|
} |
|
|
|
} |
|
|
|
if (g.compass_enabled && compass.healthy(0) && ahrs.use_compass()) { |
|
|
|
if (g.compass_enabled && compass.healthy(0) && ahrs.use_compass()) { |
|
|
|