mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
OP-1732 - Fixed timer bank assignments and labels for Revolution
Conflicts: ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp
This commit is contained in:
parent
0cb0948e16
commit
3d6a01f0e2
@ -356,14 +356,14 @@ void ConfigOutputWidget::refreshWidgetsValues(UAVObject *obj)
|
||||
// Setup labels and combos for banks according to board type
|
||||
if (board == 0x0903) {
|
||||
// Revolution family of boards 6 timer banks
|
||||
bankLabels << "1 (1-2)" << "2 (3)" << "3 (4)" << "4 (5-6)" << "5 (7-8)" << "6 (9-10)";
|
||||
channelBanks << 1 << 1 << 2 << 3 << 4 << 4 << 5 << 5 << 6 << 6;
|
||||
bankLabels << "1 (1-2)" << "2 (3)" << "3 (4)" << "4 (5-6)" << "5 (7,12)" << "6 (8-11)";
|
||||
channelBanks << 1 << 1 << 2 << 3 << 4 << 4 << 5 << 6 << 6 << 6 << 6 << 5;
|
||||
} else if (board == 0x0905) {
|
||||
// Revolution Nano
|
||||
bankLabels << "1 (1)" << "2 (2,7,11)" << "3 (3)" << "4 (4)" << "5 (5-6)" << "6 (8-10,12)";
|
||||
channelBanks << 1 << 2 << 3 << 4 << 5 << 5 << 2 << 6 << 6 << 6 << 2 << 6;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int i = 0;
|
||||
foreach(QString banklabel, bankLabels) {
|
||||
|
Loading…
Reference in New Issue
Block a user