Minor cleanups in docs and output

This commit is contained in:
Lorenz Meier
2012-11-18 16:17:09 +01:00
parent e9acc18df4
commit 340323830c
2 changed files with 9 additions and 6 deletions
+3
View File
@@ -547,6 +547,9 @@ int mavlink_thread_main(int argc, char *argv[])
/* print welcome text */
warnx("MAVLink v1.0 serial interface starting...");
/* inform about mode */
warnx((mavlink_link_mode == MAVLINK_INTERFACE_MODE_ONBOARD) ? "ONBOARD MODE" : "DOWNLINK MODE");
/* Flush stdout in case MAVLink is about to take it over */
fflush(stdout);