diff options
author | Julian Oes <julian@oes.ch> | 2014-06-27 14:08:13 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-06-27 14:08:13 +0200 |
commit | ee6e0000980f2127913dfec73b1981b559f85877 (patch) | |
tree | 8e13e9d8c6d89151f2437f8fa3e6172ab80ede29 | |
parent | 93887f9f28d978290e6698b7f2b7e1e9b60bec13 (diff) | |
download | px4-firmware-ee6e0000980f2127913dfec73b1981b559f85877.tar.gz px4-firmware-ee6e0000980f2127913dfec73b1981b559f85877.tar.bz2 px4-firmware-ee6e0000980f2127913dfec73b1981b559f85877.zip |
mavlink: fix comment in swarm message receiver
-rw-r--r-- | src/modules/mavlink/mavlink_receiver.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/mavlink/mavlink_receiver.cpp b/src/modules/mavlink/mavlink_receiver.cpp index c4955f1b3..c96bd9273 100644 --- a/src/modules/mavlink/mavlink_receiver.cpp +++ b/src/modules/mavlink/mavlink_receiver.cpp @@ -358,8 +358,7 @@ MavlinkReceiver::handle_message_quad_swarm_roll_pitch_yaw_thrust(mavlink_message mavlink_set_quad_swarm_roll_pitch_yaw_thrust_t swarm_offboard_control; mavlink_msg_set_quad_swarm_roll_pitch_yaw_thrust_decode(msg, &swarm_offboard_control); - /* Only accept system IDs from 1 to 4 - * TODO: check for own system ID */ + /* Only accept system IDs from 1 to 4 */ if (mavlink_system.sysid >= 1 && mavlink_system.sysid <= 4) { struct offboard_control_setpoint_s offboard_control_sp; memset(&offboard_control_sp, 0, sizeof(offboard_control_sp)); |