mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-05-15 01:35:12 +00:00
Implement remote lna toggle cli cmd
This commit is contained in:
@@ -55,3 +55,13 @@ mesh::LocalIdentity radio_new_identity() {
|
||||
return mesh::LocalIdentity(&rng); // create new random identity
|
||||
}
|
||||
|
||||
#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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user