mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Remove unused RX boosted gain mode functions and related preprocessor directives across multiple variants
This commit is contained in:
parent
f858f2e4bb
commit
9a95e25ef2
164 changed files with 53 additions and 781 deletions
|
|
@ -8,7 +8,6 @@ build_flags = ${nrf52_base.build_flags}
|
|||
-I lib/nrf52/s140_nrf52_6.1.1_API/include/nrf52
|
||||
-I variants/thinknode_m1
|
||||
-D THINKNODE_M1=1
|
||||
-D USE_SX1262
|
||||
-D RADIO_CLASS=CustomSX1262
|
||||
-D WRAPPER_CLASS=CustomSX1262Wrapper
|
||||
-D P_LORA_DIO_1=20
|
||||
|
|
|
|||
|
|
@ -151,12 +151,3 @@ bool ThinkNodeM1SensorManager::setSettingValue(const char* name, const char* val
|
|||
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
|
||||
|
|
|
|||
|
|
@ -48,7 +48,3 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue