diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-18 16:46:03 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-18 16:46:03 +0200 |
commit | 9a1fcb4c4ab0703400909f43e225632616e854fb (patch) | |
tree | a37b69bfc0e24c8dfd04c3c1f8a10a2a471f5474 /src/modules/mavlink/mavlink_main.cpp | |
parent | 01f1c90c2673754c10d031796b0dbba5e7a6fd55 (diff) | |
parent | c3522f85928c16d55e54dedc73eb4ed1420d527f (diff) | |
download | px4-firmware-9a1fcb4c4ab0703400909f43e225632616e854fb.tar.gz px4-firmware-9a1fcb4c4ab0703400909f43e225632616e854fb.tar.bz2 px4-firmware-9a1fcb4c4ab0703400909f43e225632616e854fb.zip |
Merge pull request #1284 from PX4/telem_status_reactive
Publish telemetry status on telemetry update and on heartbeat update eve...
Diffstat (limited to 'src/modules/mavlink/mavlink_main.cpp')
-rw-r--r-- | src/modules/mavlink/mavlink_main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/mavlink/mavlink_main.cpp b/src/modules/mavlink/mavlink_main.cpp index 2faf8ab76..c27716f74 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -217,6 +217,8 @@ Mavlink::Mavlink() : errx(1, "instance ID is out of range"); break; } + + _rstatus.type = TELEMETRY_STATUS_RADIO_TYPE_GENERIC; } Mavlink::~Mavlink() |