Added Heltec V4.3 support/FEM autodetection

This commit is contained in:
2026-04-08 22:00:43 +03:00
parent e1029912e6
commit d925afc2f8
9 changed files with 87 additions and 199 deletions

View File

@@ -1322,13 +1322,13 @@ int getTxPower() {
}
#if HAS_LORA_PA
#if BOARD_MODEL == BOARD_HELTEC32_V4
bool pa_values_determined = false;
int tx_gain[PA_GAIN_POINTS] = {100};
#else
bool pa_values_determined = true;
const int tx_gain[PA_GAIN_POINTS] = {PA_GAIN_VALUES};
#endif
#if BOARD_MODEL == BOARD_HELTEC32_V4
bool pa_values_determined = false;
int tx_gain[PA_GAIN_POINTS] = {100};
#else
bool pa_values_determined = true;
const int tx_gain[PA_GAIN_POINTS] = {PA_GAIN_VALUES};
#endif
#endif
extern uint8_t lora_pa_model;