aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2015-02-28 18:39:36 +0100
committerThomas Gubler <thomasgubler@gmail.com>2015-02-28 18:39:36 +0100
commit7fb82e74c89eeb7f542080305a95b94098a548ab (patch)
treec1c35a592c7616962107ea65511666f031528a62 /src/modules
parentb4d7bac8c25d6b3b5cf277900295fac0c8384755 (diff)
downloadpx4-firmware-7fb82e74c89eeb7f542080305a95b94098a548ab.tar.gz
px4-firmware-7fb82e74c89eeb7f542080305a95b94098a548ab.tar.bz2
px4-firmware-7fb82e74c89eeb7f542080305a95b94098a548ab.zip
tiny comment improvement
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/mavlink/mavlink_receiver.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/mavlink/mavlink_receiver.cpp b/src/modules/mavlink/mavlink_receiver.cpp
index bce93cc6a..573d5aecf 100644
--- a/src/modules/mavlink/mavlink_receiver.cpp
+++ b/src/modules/mavlink/mavlink_receiver.cpp
@@ -659,10 +659,10 @@ MavlinkReceiver::handle_message_set_actuator_control_target(mavlink_message_t *m
struct offboard_control_mode_s offboard_control_mode;
memset(&offboard_control_mode, 0, sizeof(offboard_control_mode));//XXX breaks compatibility with multiple setpoints
-
+
struct actuator_controls_s actuator_controls;
memset(&actuator_controls, 0, sizeof(actuator_controls));//XXX breaks compatibility with multiple setpoints
-
+
if ((mavlink_system.sysid == set_actuator_control_target.target_system ||
set_actuator_control_target.target_system == 0) &&
(mavlink_system.compid == set_actuator_control_target.target_component ||
@@ -768,7 +768,7 @@ MavlinkReceiver::handle_message_set_attitude_target(mavlink_message_t *msg)
offboard_control_mode.ignore_thrust = (bool)(set_attitude_target.type_mask & (1 << 6));
/*
- * The tricky part in pasrsing this message is that the offboard sender can set attitude and thrust
+ * The tricky part in parsing this message is that the offboard sender *can* set attitude and thrust
* using different messages. Eg.: First send set_attitude_target containing the attitude and ignore
* bits set for everything else and then send set_attitude_target containing the thrust and ignore bits
* set for everything else.