Skip to content

Commit 21223db

Browse files
authored
Fix LR1121 not committing power change when switching band (ExpressLRS#3415)
1 parent 2775774 commit 21223db

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib/LR1121Driver/LR1121.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,7 @@ void LR1121Driver::Config(uint8_t bw, uint8_t sf, uint8_t cr, uint32_t regfreq,
233233
ClearIrqStatus(radioNumber);
234234

235235
SetPaConfig(isSubGHz, radioNumber); // Must be called after changing rf modes between subG and 2.4G. This sets the correct rf amps, and txen pins to be used.
236-
#if defined(TARGET_RX)
237236
pwrForceUpdate = true; // force an update of the output power because the band may have changed, and we need to configure the power for the band.
238-
#endif
239237
CommitOutputPower();
240238
}
241239

0 commit comments

Comments
 (0)