mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
MAVLink app: Code style fix
This commit is contained in:
parent
ddf32e14de
commit
90fdc544fd
@ -125,7 +125,7 @@ void MavlinkCommandSender::handle_mavlink_command_ack(const mavlink_command_ack_
|
||||
uint8_t from_sysid, uint8_t from_compid)
|
||||
{
|
||||
CMD_DEBUG("handling result %d for command %d: %d from %d",
|
||||
ack.result, ack.command, from_sysid, from_compid);
|
||||
ack.result, ack.command, from_sysid, from_compid);
|
||||
lock();
|
||||
|
||||
_commands.reset_to_start();
|
||||
@ -187,7 +187,7 @@ void MavlinkCommandSender::check_timeout(mavlink_channel_t channel)
|
||||
item->num_sent_per_channel[channel]++;
|
||||
|
||||
CMD_DEBUG("%p timeout (behind), retries: %d/%d, channel: %d",
|
||||
item, item->num_sent_per_channel[channel], max_sent, channel);
|
||||
item, item->num_sent_per_channel[channel], max_sent, channel);
|
||||
|
||||
} else if (item->num_sent_per_channel[channel] == max_sent &&
|
||||
min_sent == max_sent) {
|
||||
@ -207,7 +207,7 @@ void MavlinkCommandSender::check_timeout(mavlink_channel_t channel)
|
||||
item->last_time_sent_us = hrt_absolute_time();
|
||||
|
||||
CMD_DEBUG("%p timeout (first), retries: %d/%d, channel: %d",
|
||||
item, item->num_sent_per_channel[channel], max_sent, channel);
|
||||
item, item->num_sent_per_channel[channel], max_sent, channel);
|
||||
|
||||
} else {
|
||||
// We are already ahead, so this should not happen.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user