fix(afhds3): modify RF power related issues (#6831)
This commit is contained in:
@@ -93,10 +93,14 @@ AFHDS3Settings::AFHDS3Settings(Window* parent, const FlexGridLayout& g,
|
||||
#if defined(RADIO_PL18U) || defined(PCBPA01)
|
||||
hasPowerOption = true;
|
||||
maxPower = AFHDS3_POWER_500;
|
||||
#if defined(PCBPA01)
|
||||
md->afhds3.rfPower = afhds3::get_current_rfpower_level(moduleIdx);
|
||||
#endif
|
||||
#endif
|
||||
} else if (moduleIdx == EXTERNAL_MODULE) {
|
||||
hasPowerOption = true;
|
||||
maxPower = AFHDS3_FRM303_POWER_MAX;
|
||||
md->afhds3.rfPower = afhds3::get_current_rfpower_level(moduleIdx);
|
||||
}
|
||||
|
||||
if (hasPowerOption) {
|
||||
|
||||
Reference in New Issue
Block a user