mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
GCS_MAVLink: only call message handler for our own messages
This commit is contained in:
parent
11f88f0f5d
commit
aa88ba4158
@ -908,7 +908,9 @@ GCS_MAVLINK::update(void (*run_cli)(AP_HAL::UARTDriver *))
|
|||||||
if (msg.msgid != MAVLINK_MSG_ID_RADIO && msg.msgid != MAVLINK_MSG_ID_RADIO_STATUS) {
|
if (msg.msgid != MAVLINK_MSG_ID_RADIO && msg.msgid != MAVLINK_MSG_ID_RADIO_STATUS) {
|
||||||
mavlink_active |= (1U<<chan);
|
mavlink_active |= (1U<<chan);
|
||||||
}
|
}
|
||||||
handleMessage(&msg);
|
if (!routing.check_and_forward(chan, &msg)) {
|
||||||
|
handleMessage(&msg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user