aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiogo Machado <dmachado@lsa.isep.ipp.pt>2014-02-26 11:27:42 +0000
committerDiogo Machado <dmachado@lsa.isep.ipp.pt>2014-02-26 11:27:42 +0000
commitfaa7d9577d20d38741fe9accabb372f088b9dc6a (patch)
tree5aac73524d13d7893dc91df80ae6dc150268d904 /src
parent1acd951173212fcb3d7511792270609b748528d7 (diff)
downloadpx4-firmware-faa7d9577d20d38741fe9accabb372f088b9dc6a.tar.gz
px4-firmware-faa7d9577d20d38741fe9accabb372f088b9dc6a.tar.bz2
px4-firmware-faa7d9577d20d38741fe9accabb372f088b9dc6a.zip
commented out gcs_link = false; when receiving swarm messages, since we still want imu and atitude messages in offboard mode
Diffstat (limited to 'src')
-rw-r--r--src/modules/mavlink/mavlink_receiver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mavlink/mavlink_receiver.cpp b/src/modules/mavlink/mavlink_receiver.cpp
index 8ea0f9ea3..6c0eb169b 100644
--- a/src/modules/mavlink/mavlink_receiver.cpp
+++ b/src/modules/mavlink/mavlink_receiver.cpp
@@ -277,7 +277,7 @@ handle_message(mavlink_message_t *msg)
if (mavlink_system.sysid < 4) {
/* switch to a receiving link mode */
- gcs_link = false;
+// gcs_link = false; // commented this because I wanted to still receive imu and attitude info when in offboard mode
/*
* rate control mode - defined by MAVLink