1
0
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:
a*morale 2012-08-21 00:50:09 +02:00
parent fa465c54a8
commit d8ea84cdf1

View File

@ -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;