|
|
|
@ -206,7 +206,7 @@ static NOINLINE void send_extended_status1(mavlink_channel_t chan, uint16_t pack
@@ -206,7 +206,7 @@ static NOINLINE void send_extended_status1(mavlink_channel_t chan, uint16_t pack
|
|
|
|
|
control_sensors_health = control_sensors_present & ~(MAV_SYS_STATUS_SENSOR_3D_MAG | |
|
|
|
|
MAV_SYS_STATUS_SENSOR_GPS | |
|
|
|
|
MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE); |
|
|
|
|
if (g.compass_enabled && compass.healthy && ahrs.use_compass()) { |
|
|
|
|
if (g.compass_enabled && compass.healthy() && ahrs.use_compass()) { |
|
|
|
|
control_sensors_health |= MAV_SYS_STATUS_SENSOR_3D_MAG; |
|
|
|
|
} |
|
|
|
|
if (g_gps != NULL && g_gps->status() > GPS::NO_GPS) { |
|
|
|
|