mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
GCS_MAVLink: fix debug formatting
This commit is contained in:
parent
521f3dc4b9
commit
e3398648d7
@ -137,12 +137,12 @@ bool MAVLink_routing::check_and_forward(mavlink_channel_t in_channel, const mavl
|
||||
if (comm_get_txspace(routes[i].channel) >=
|
||||
((uint16_t)msg->len) + MAVLINK_NUM_NON_PAYLOAD_BYTES) {
|
||||
#if ROUTING_DEBUG
|
||||
::printf("fwd msg %u from chan %u on chan %u sysid=%u compid=%u\n",
|
||||
::printf("fwd msg %u from chan %u on chan %u sysid=%d compid=%d\n",
|
||||
msg->msgid,
|
||||
(unsigned)in_channel,
|
||||
(unsigned)routes[i].channel,
|
||||
(unsigned)target_system,
|
||||
(unsigned)target_component);
|
||||
(int)target_system,
|
||||
(int)target_component);
|
||||
#endif
|
||||
_mavlink_resend_uart(routes[i].channel, msg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user