|
|
@ -58,7 +58,7 @@ bool GCS::install_alternative_protocol(mavlink_channel_t c, GCS_MAVLINK::protoco |
|
|
|
if (c >= num_gcs()) { |
|
|
|
if (c >= num_gcs()) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
if (chan(c).alternative.handler) { |
|
|
|
if (chan(c).alternative.handler && handler) { |
|
|
|
// already have one installed - we may need to add support for
|
|
|
|
// already have one installed - we may need to add support for
|
|
|
|
// multiple alternative handlers
|
|
|
|
// multiple alternative handlers
|
|
|
|
return false; |
|
|
|
return false; |
|
|
|