Browse Source

APMAutoPilotPlugin.cc: Change deprecated AP param

QGC4.4
davidsastresas 1 year ago committed by Julian Oes
parent
commit
15cf60707a
No known key found for this signature in database
GPG Key ID: F0ED380FEA56DE41
  1. 2
      src/AutoPilotPlugins/APM/APMAutoPilotPlugin.cc

2
src/AutoPilotPlugins/APM/APMAutoPilotPlugin.cc

@ -130,7 +130,7 @@ const QVariantList& APMAutoPilotPlugin::vehicleComponents(void) @@ -130,7 +130,7 @@ const QVariantList& APMAutoPilotPlugin::vehicleComponents(void)
_tuningComponent->setupTriggerSignals();
_components.append(QVariant::fromValue((VehicleComponent*)_tuningComponent));
if(_vehicle->parameterManager()->parameterExists(-1, "MNT_RC_IN_PAN")) {
if(_vehicle->parameterManager()->parameterExists(-1, "MNT1_TYPE")) {
_cameraComponent = new APMCameraComponent(_vehicle, this);
_cameraComponent->setupTriggerSignals();
_components.append(QVariant::fromValue((VehicleComponent*)_cameraComponent));

Loading…
Cancel
Save