diff --git a/src/AutoPilotPlugins/Common/RadioComponentController.cc b/src/AutoPilotPlugins/Common/RadioComponentController.cc index 234abbc5ce9138fc312f6a7de25451f4e5216543..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); @@ -951,11 +949,6 @@ void RadioComponentController::_writeCalibration(void) _stopCalibration(); _setInternalCalibrationValuesFromParameters(); - - if (_vehicle->apmFirmware() && functionMappingChanged && !_unitTestMode) { - // We can't emit this in unit test mode since it confused to Qml which is running in an invisible widget - emit functionMappingChangedAPMReboot(); - } } /// @brief Starts the calibration process