mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Implement remote lna toggle cli cmd
This commit is contained in:
parent
3f33455b4d
commit
71136671bd
171 changed files with 925 additions and 27 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue