More work for X-Lite S/PRO

This commit is contained in:
Bertrand Songis
2019-05-10 22:43:38 +02:00
parent e42945b861
commit 0cbb6c1add
2 changed files with 12 additions and 5 deletions
+10
View File
@@ -370,6 +370,16 @@ const QString Boards::getAnalogInputName(Board::Type board, int index)
if (index < DIM(pots))
return pots[index];
}
else if (IS_TARANIS_XLITE(board)) {
const QString pots[] = {
"S1",
"S2",
"GyrX",
"GyrY"
};
if (index < DIM(pots))
return pots[index];
}
else if (IS_TARANIS(board)) {
const QString pots[] = {
"S1",