mirror of https://github.com/ArduPilot/ardupilot
Copter: move ADSB mavlink handling from vehicles to common library
This commit is contained in:
parent
667925ebbf
commit
e7c31dab9c
|
@ -1330,15 +1330,6 @@ void GCS_MAVLINK_Copter::handleMessage(const mavlink_message_t &msg)
|
|||
break;
|
||||
}
|
||||
|
||||
case MAVLINK_MSG_ID_ADSB_VEHICLE:
|
||||
case MAVLINK_MSG_ID_UAVIONIX_ADSB_OUT_CFG:
|
||||
case MAVLINK_MSG_ID_UAVIONIX_ADSB_OUT_DYNAMIC:
|
||||
case MAVLINK_MSG_ID_UAVIONIX_ADSB_TRANSCEIVER_HEALTH_REPORT:
|
||||
#if HAL_ADSB_ENABLED
|
||||
copter.adsb.handle_message(chan, msg);
|
||||
#endif
|
||||
break;
|
||||
|
||||
#if TOY_MODE_ENABLED == ENABLED
|
||||
case MAVLINK_MSG_ID_NAMED_VALUE_INT:
|
||||
copter.g2.toy_mode.handle_message(msg);
|
||||
|
|
Loading…
Reference in New Issue