mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -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) {
|
||||
mavlink_active |= (1U<<chan);
|
||||
}
|
||||
handleMessage(&msg);
|
||||
if (!routing.check_and_forward(chan, &msg)) {
|
||||
handleMessage(&msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user