mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Fix output power selection from the configured value at startup
This commit is contained in:
parent
fa465c54a8
commit
d8ea84cdf1
@ -346,7 +346,7 @@ void PIOS_Board_Init(void) {
|
||||
pios_rfm22b_cfg.maxRFBandwidth = 128000;
|
||||
break;
|
||||
}
|
||||
switch (pipxSettings.RFSpeed)
|
||||
switch (pipxSettings.MaxRFPower)
|
||||
{
|
||||
case PIPXSETTINGS_MAXRFPOWER_125:
|
||||
pios_rfm22b_cfg.maxTxPower = RFM22_tx_pwr_txpow_0;
|
||||
|
Loading…
Reference in New Issue
Block a user