Simulator: Fix code style

This commit is contained in:
Lorenz Meier 2016-04-05 16:34:31 -07:00
parent 437041f302
commit 205650efd7
1 changed files with 1 additions and 1 deletions

View File

@ -541,6 +541,7 @@ void Simulator::pollForMAVLinkMessages(bool publish)
fds[1].fd = serial_fd; fds[1].fd = serial_fd;
fds[1].events = POLLIN; fds[1].events = POLLIN;
fd_count++; fd_count++;
} else { } else {
PX4_INFO("Not using %s for radio control input. Assuming joystick input via MAVLink.", PIXHAWK_DEVICE); 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)) { if (mavlink_parse_char(MAVLINK_COMM_0, _buf[i], &msg, &udp_status)) {
// have a message, handle it // have a message, handle it
handle_message(&msg, publish); handle_message(&msg, publish);
warnx("Got: %u", msg.msgid);
} }
} }
} }