fix(color): RF power drop-down (#2547)

Fixes #2488
This commit is contained in:
Raphael Coeffic
2022-10-14 11:20:59 +10:00
committed by GitHub
parent 487f075ca7
commit 41c788267b
+2 -2
View File
@@ -483,11 +483,11 @@ void ModuleWindow::updateSubType()
if (rfPower) {
if (isModuleR9M_LBT(moduleIdx)) {
rfPower->setValues(STR_R9M_LBT_POWER_VALUES);
rfPower->setMax(R9M_LBT_POWER_MAX);
rfPower->setValues(STR_R9M_LBT_POWER_VALUES);
} else {
rfPower->setValues(STR_R9M_FCC_POWER_VALUES);
rfPower->setMax(R9M_FCC_POWER_MAX);
rfPower->setValues(STR_R9M_FCC_POWER_VALUES);
}
lv_event_send(rfPower->getLvObj(), LV_EVENT_VALUE_CHANGED, nullptr);
}