Commit 3f606af5 authored by tstellanova's avatar tstellanova

clear channel mappings for > Ch 5 when starting rc cal

parent b66ee7e9
......@@ -426,6 +426,11 @@ void QGCPX4VehicleConfig::startCalibrationRC()
return;
}
// reset all channel mappings above Ch 5 to invalid/unused value before starting calibration
for (unsigned int j= 5; j < chanMappedMax; j++) {
rcMapping[j] = -1;
}
configEnabled = true;
QMessageBox::warning(0,tr("Safety Warning"),
......
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