mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-26 09:45:16 +03:00
9XR support n companion, still not finished
This commit is contained in:
parent
d396e85fe0
commit
ee1b51b214
12 changed files with 86 additions and 40 deletions
|
@ -286,7 +286,7 @@ void ModelsListWidget::refreshList()
|
|||
QString item = QString().sprintf("%02d: ", i+1);
|
||||
|
||||
if (!radioData->models[i].isempty()) {
|
||||
if (eepromInterface && eepromInterface->getBoard() == BOARD_SKY9X) {
|
||||
if (eepromInterface && IS_SKY9X(eepromInterface->getBoard())) {
|
||||
if (radioData->models[i].name[0]==0) {
|
||||
QString modelname="Model";
|
||||
modelname.append(QString().sprintf("%02d", i+1));
|
||||
|
@ -330,7 +330,7 @@ void ModelsListWidget::refreshList()
|
|||
this->item(radioData->generalSettings.currModel+1)->setFont(f);
|
||||
}
|
||||
|
||||
if (eepromInterface && eepromInterface->getBoard() != BOARD_SKY9X) {
|
||||
if (eepromInterface && !IS_SKY9X(eepromInterface->getBoard())) {
|
||||
((MdiChild*)parent())->setEEpromAvail((availableEEpromSize/16)*15);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue