diff --git a/src/AutoPilotPlugins/Common/RadioComponentController.cc b/src/AutoPilotPlugins/Common/RadioComponentController.cc index 4d336bd2e2e73744dd098cc0322cb18447c6eb97..f5337ab9c4aa94f32aa32928e78c372cb2007ccc 100644 --- a/src/AutoPilotPlugins/Common/RadioComponentController.cc +++ b/src/AutoPilotPlugins/Common/RadioComponentController.cc @@ -918,7 +918,6 @@ void RadioComponentController::_writeCalibration(void) } // Write function mapping parameters - bool functionMappingChanged = false; for (size_t i=0; irawValue().toInt() != paramChannel) { - functionMappingChanged = true; paramFact = getParameterFact(FactSystem::defaultComponentId, _functionInfo()[i].parameterName); if (paramFact) { paramFact->setRawValue(paramChannel);