forked from Archive/PX4-Autopilot
Revert "Do not check component ID for mission handling partner"
This reverts commit e0e7a2414e
.
This commit is contained in:
parent
2cf9294c68
commit
90798a7cb6
|
@ -403,7 +403,7 @@ MavlinkMissionManager::handle_mission_ack(const mavlink_message_t *msg)
|
|||
mavlink_msg_mission_ack_decode(msg, &wpa);
|
||||
|
||||
if (CHECK_SYSID_COMPID_MISSION(wpa)) {
|
||||
if ((msg->sysid == _transfer_partner_sysid/* && msg->compid == _transfer_partner_compid*/)) {
|
||||
if ((msg->sysid == _transfer_partner_sysid && msg->compid == _transfer_partner_compid)) {
|
||||
if (_state == MAVLINK_WPM_STATE_SENDLIST) {
|
||||
_time_last_recv = hrt_absolute_time();
|
||||
|
||||
|
@ -504,7 +504,7 @@ MavlinkMissionManager::handle_mission_request(const mavlink_message_t *msg)
|
|||
mavlink_msg_mission_request_decode(msg, &wpr);
|
||||
|
||||
if (CHECK_SYSID_COMPID_MISSION(wpr)) {
|
||||
if (msg->sysid == _transfer_partner_sysid/* && msg->compid == _transfer_partner_compid*/) {
|
||||
if (msg->sysid == _transfer_partner_sysid && msg->compid == _transfer_partner_compid) {
|
||||
if (_state == MAVLINK_WPM_STATE_SENDLIST) {
|
||||
_time_last_recv = hrt_absolute_time();
|
||||
|
||||
|
|
Loading…
Reference in New Issue