mirror of
https://github.com/opentx/opentx.git
synced 2025-07-21 15:25:17 +03:00
Issue #767 - Extra Pot (S3) support
This commit is contained in:
parent
f9e6819b37
commit
3215346a1b
26 changed files with 180 additions and 164 deletions
|
@ -599,7 +599,7 @@ void populateSourceCB(QComboBox *b, const RawSource & source, const ModelData &
|
|||
if (item == source) b->setCurrentIndex(b->count()-1);
|
||||
}
|
||||
|
||||
for (int i=0; i<NUM_PPM(GetEepromInterface()->getBoard()); i++) {
|
||||
for (int i=0; i<GetEepromInterface()->getCapability(TrainerInputs); i++) {
|
||||
item = RawSource(SOURCE_TYPE_PPM, 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