mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 00:05:17 +03:00
RSSI Tx masked on Companion for Taranis
This commit is contained in:
parent
fbb90ff5d5
commit
8f7f308ead
1 changed files with 4 additions and 0 deletions
|
@ -645,6 +645,8 @@ void populateSourceCB(QComboBox *b, const RawSource & source, const ModelData &
|
|||
|
||||
if (flags & POPULATE_TELEMETRYEXT) {
|
||||
for (int i=0; i<TELEMETRY_SOURCE_ACC; i++) {
|
||||
if (i==TELEMETRY_SOURCE_RSSI_TX && IS_TARANIS(GetCurrentFirmware()->getBoard()))
|
||||
continue;
|
||||
item = RawSource(SOURCE_TYPE_TELEMETRY, i);
|
||||
b->addItem(item.toString(), item.toValue());
|
||||
if (item == source) b->setCurrentIndex(b->count()-1);
|
||||
|
@ -652,6 +654,8 @@ void populateSourceCB(QComboBox *b, const RawSource & source, const ModelData &
|
|||
}
|
||||
else if (flags & POPULATE_TELEMETRY) {
|
||||
for (int i=0; i<TELEMETRY_SOURCES_COUNT; i++) {
|
||||
if (i==TELEMETRY_SOURCE_RSSI_TX && IS_TARANIS(GetCurrentFirmware()->getBoard()))
|
||||
continue;
|
||||
item = RawSource(SOURCE_TYPE_TELEMETRY, i);
|
||||
b->addItem(item.toString(), item.toValue());
|
||||
if (item == source) b->setCurrentIndex(b->count()-1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue