Commit 550bac9a authored by Don Gagne's avatar Don Gagne

Merge pull request #2648 from DonLakeFlyer/RcReboot

Reboot message no longer needed
parents 203c825f eed4b986
......@@ -918,7 +918,6 @@ void RadioComponentController::_writeCalibration(void)
}
// Write function mapping parameters
bool functionMappingChanged = false;
for (size_t i=0; i<rcCalFunctionMax; i++) {
int32_t paramChannel;
if (_rgFunctionChannelMapping[i] == _chanMax()) {
......@@ -933,7 +932,6 @@ void RadioComponentController::_writeCalibration(void)
Fact* paramFact = getParameterFact(FactSystem::defaultComponentId, _functionInfo()[i].parameterName);
if (paramFact && paramFact->rawValue().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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment