mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
Merge pull request #3218 from fkallay1/fix/lr2021-set-tx-power-rx-stall
Fix LR2021 occasionally stopping reception after a TX power change
This commit is contained in:
@@ -48,6 +48,9 @@ uint32_t RadioLibWrapper::getRngSeed() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void RadioLibWrapper::setTxPower(int8_t dbm) {
|
void RadioLibWrapper::setTxPower(int8_t dbm) {
|
||||||
|
#if defined(USE_LR2021)
|
||||||
|
idle();
|
||||||
|
#endif
|
||||||
_radio->setOutputPower(dbm);
|
_radio->setOutputPower(dbm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user