mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-04-10 02:02:21 +02: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;
|
pios_rfm22b_cfg.maxRFBandwidth = 128000;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
switch (pipxSettings.RFSpeed)
|
switch (pipxSettings.MaxRFPower)
|
||||||
{
|
{
|
||||||
case PIPXSETTINGS_MAXRFPOWER_125:
|
case PIPXSETTINGS_MAXRFPOWER_125:
|
||||||
pios_rfm22b_cfg.maxTxPower = RFM22_tx_pwr_txpow_0;
|
pios_rfm22b_cfg.maxTxPower = RFM22_tx_pwr_txpow_0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user