[Companion] Adjust X10/S hardware options to match radio (no L1/L2/JSx/JSy). Fixes #5488 (#5493)

This commit is contained in:
Max Paperno
2017-12-10 10:09:24 +01:00
committed by Bertrand Songis
parent eb79d4f774
commit e43807540e
3 changed files with 30 additions and 19 deletions
@@ -759,7 +759,7 @@ QString OpenTxFirmware::getAnalogInputName(unsigned int index)
};
return CHECK_IN_ARRAY(pots, index);
}
else if (IS_HORUS(board)) {
else if (IS_HORUS_X12S(board)) {
const QString pots[] = {
QObject::tr("S1"),
QObject::tr("6P"),
@@ -773,6 +773,16 @@ QString OpenTxFirmware::getAnalogInputName(unsigned int index)
};
return CHECK_IN_ARRAY(pots, index);
}
else if (IS_HORUS_X10(board)) {
const QString pots[] = {
QObject::tr("S1"),
QObject::tr("6P"),
QObject::tr("S2"),
QObject::tr("LS"),
QObject::tr("RS")
};
return CHECK_IN_ARRAY(pots, index);
}
else {
return "???";
}