Commit eed4b986 authored by Don Gagne's avatar Don Gagne

Remove unused variable

parent cab36848
......@@ -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);
......
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