mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -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) >=
|
if (comm_get_txspace(routes[i].channel) >=
|
||||||
((uint16_t)msg->len) + MAVLINK_NUM_NON_PAYLOAD_BYTES) {
|
((uint16_t)msg->len) + MAVLINK_NUM_NON_PAYLOAD_BYTES) {
|
||||||
#if ROUTING_DEBUG
|
#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,
|
msg->msgid,
|
||||||
(unsigned)in_channel,
|
(unsigned)in_channel,
|
||||||
(unsigned)routes[i].channel,
|
(unsigned)routes[i].channel,
|
||||||
(unsigned)target_system,
|
(int)target_system,
|
||||||
(unsigned)target_component);
|
(int)target_component);
|
||||||
#endif
|
#endif
|
||||||
_mavlink_resend_uart(routes[i].channel, msg);
|
_mavlink_resend_uart(routes[i].channel, msg);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user