Skip to content

Commit

Permalink
GCS_MAVLink: revert change that removed the broadcast of gimbal heart…
Browse files Browse the repository at this point in the history
…beats
  • Loading branch information
arthurbenemann committed Mar 5, 2015
1 parent 1c8503a commit 5134ba5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libraries/GCS_MAVLink/MAVLink_routing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,6 @@ void MAVLink_routing::forward(const mavlink_message_t* msg)
*/
void MAVLink_routing::handle_heartbeat(mavlink_channel_t in_channel, const mavlink_message_t* msg)
{
if (msg->compid == MAV_COMP_ID_GIMBAL)
{
//Mask out gimbal messages, since those are causing problems for the controller
return;
}

uint16_t mask = GCS_MAVLINK::active_channel_mask();

// don't send on the incoming channel. This should only matter if
Expand Down

0 comments on commit 5134ba5

Please sign in to comment.