mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 14:17:35 +08:00
Simulator: Fix code style
This commit is contained in:
@@ -541,6 +541,7 @@ void Simulator::pollForMAVLinkMessages(bool publish)
|
||||
fds[1].fd = serial_fd;
|
||||
fds[1].events = POLLIN;
|
||||
fd_count++;
|
||||
|
||||
} else {
|
||||
PX4_INFO("Not using %s for radio control input. Assuming joystick input via MAVLink.", PIXHAWK_DEVICE);
|
||||
}
|
||||
@@ -650,7 +651,6 @@ void Simulator::pollForMAVLinkMessages(bool publish)
|
||||
if (mavlink_parse_char(MAVLINK_COMM_0, _buf[i], &msg, &udp_status)) {
|
||||
// have a message, handle it
|
||||
handle_message(&msg, publish);
|
||||
warnx("Got: %u", msg.msgid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user