Remove unused RX boosted gain mode functions and related preprocessor directives across multiple variants

This commit is contained in:
João Brázio 2026-03-05 18:31:00 +00:00
parent f858f2e4bb
commit 9a95e25ef2
No known key found for this signature in database
GPG key ID: 56A1490716A324DD
164 changed files with 53 additions and 781 deletions

View file

@ -14,7 +14,6 @@ build_flags =
-D P_LORA_SCLK=9
-D P_LORA_MISO=11
-D P_LORA_MOSI=10
-D USE_SX1262
-D RADIO_CLASS=CustomSX1262
-D WRAPPER_CLASS=CustomSX1262Wrapper
-D LORA_TX_POWER=22

View file

@ -123,13 +123,3 @@ bool HWTSensorManager::setSettingValue(const char* name, const char* value) {
}
return false; // not supported
}
#if defined(USE_SX1262) || defined(USE_SX1268)
void radio_set_rx_boosted_gain_mode(bool rxbgm) {
radio.setRxBoostedGainMode(rxbgm);
}
bool radio_get_rx_boosted_gain_mode() {
return radio.getRxBoostedGainMode();
}
#endif

View file

@ -46,8 +46,3 @@ uint32_t radio_get_rng_seed();
void radio_set_params(float freq, float bw, uint8_t sf, uint8_t cr);
void radio_set_tx_power(int8_t dbm);
mesh::LocalIdentity radio_new_identity();
#if defined(USE_SX1262) || defined(USE_SX1268)
bool radio_get_rx_boosted_gain_mode();
void radio_set_rx_boosted_gain_mode(bool rxbgm);
#endif