diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-18 16:17:09 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-18 16:17:09 +0100 |
commit | 340323830c34d40bf159d33ed24333d30a7787f2 (patch) | |
tree | 9525589e7ee869f24747c1af23c5a05c534ea48f /apps/mavlink | |
parent | e9acc18df4e4d870ca20d10e100a132cf4a15631 (diff) | |
download | px4-firmware-340323830c34d40bf159d33ed24333d30a7787f2.tar.gz px4-firmware-340323830c34d40bf159d33ed24333d30a7787f2.tar.bz2 px4-firmware-340323830c34d40bf159d33ed24333d30a7787f2.zip |
Minor cleanups in docs and output
Diffstat (limited to 'apps/mavlink')
-rw-r--r-- | apps/mavlink/mavlink.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/mavlink/mavlink.c b/apps/mavlink/mavlink.c index 991bbfbab..b393620e2 100644 --- a/apps/mavlink/mavlink.c +++ b/apps/mavlink/mavlink.c @@ -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); |