Commit 1f9ea81b authored by Don Gagne's avatar Don Gagne

Ignore heartbeats from non-default components

parent 3ae6d915
......@@ -828,6 +828,10 @@ void Vehicle::_handleHomePosition(mavlink_message_t& message)
void Vehicle::_handleHeartbeat(mavlink_message_t& message)
{
if (message.compid != _defaultComponentId) {
return;
}
_connectionActive();
mavlink_heartbeat_t heartbeat;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment