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
|
|
@ -42,18 +42,8 @@ void radio_set_tx_power(int8_t dbm) {
|
|||
radio.setOutputPower(dbm);
|
||||
}
|
||||
|
||||
mesh::LocalIdentity radio_new_identity() {
|
||||
RadioNoiseListener rng(radio);
|
||||
return mesh::LocalIdentity(&rng);
|
||||
}
|
||||
|
||||
#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
|
||||
mesh::LocalIdentity radio_new_identity() {
|
||||
RadioNoiseListener rng(radio);
|
||||
return mesh::LocalIdentity(&rng);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue