Skip to content

Commit

Permalink
APMAutoPilotPlugin.cc: Change deprecated AP param
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidsastresas authored and julianoes committed Apr 11, 2024
1 parent 5cf402f commit 15cf607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoPilotPlugins/APM/APMAutoPilotPlugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 15cf607

Please sign in to comment.