mirror of https://github.com/ArduPilot/ardupilot
AP_ADSB: create and use AP_MAVLINK_MSG_UAVIONIX_ADSB_OUT_STATUS_ENABLED
narrower define we can use when not compiling in the backends which use this
This commit is contained in:
parent
b83fc15759
commit
232edac8d7
|
@ -253,7 +253,9 @@ void AP_ADSB_uAvionix_UCP::handle_msg(const GDL90_RX_MESSAGE &msg)
|
|||
_frontend.out_state.ctrl.x_bit = rx.decoded.transponder_status.x_bit;
|
||||
}
|
||||
run_state.last_packet_Transponder_Status_ms = AP_HAL::millis();
|
||||
#if AP_MAVLINK_MSG_UAVIONIX_ADSB_OUT_STATUS_ENABLED
|
||||
GCS_SEND_MESSAGE(MSG_UAVIONIX_ADSB_OUT_STATUS);
|
||||
#endif
|
||||
break;
|
||||
#endif // AP_ADSB_UAVIONIX_UCP_CAPTURE_ALL_RX_PACKETS
|
||||
|
||||
|
|
Loading…
Reference in New Issue