GCS_MAVLink: correct a debugging message

Probably changed from a pointer to reference at some point and forgot to update a normally disabled block
This commit is contained in:
Oleksiy Protas 2024-07-07 18:47:00 +03:00 committed by Peter Barker
parent 58b87f8b42
commit 6d27f69c96
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ bool MAVLink_routing::check_and_forward(GCS_MAVLINK &in_link, const mavlink_mess
#if ROUTING_DEBUG
::printf("fwd msg %u from chan %u on chan %u sysid=%d compid=%d\n",
msg.msgid,
(unsigned)in_link->get_chan(),
(unsigned)in_link.get_chan(),
(unsigned)routes[i].channel,
(int)target_system,
(int)target_component);