Fix thr trim typo
This commit is contained in:
@@ -1377,7 +1377,7 @@ void SetupPanel::populateThrottleTrimSwitchCB()
|
||||
int idx=0;
|
||||
for (int i=0; i<getBoardCapability(board, Board::NumTrims); i++, idx++) {
|
||||
QString trim = RawSource(SOURCE_TYPE_TRIM, i).toString(model, &generalSettings);
|
||||
trim = (trim == "TrmR") ? "TrmT" : (trim == "TmrT") ? "TmrR" : trim;
|
||||
trim = (trim == "TrmR") ? "TrmT" : (trim == "TrmT") ? "TrmR" : trim;
|
||||
ui->throttleTrimSwitch->addItem(trim, idx);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user