mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-18 14:19:49 +03:00
trying new TX L/M/H power setting, 20mW, 1W and full power (>= 3W)
This commit is contained in:
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
14
radio.c
14
radio.c
@ -577,19 +577,19 @@ void RADIO_ConfigureTXPower(vfo_info_t *p_vfo)
|
|||||||
memcpy(&tx_power, &g_eeprom.calib.tx_band_power[band].level[p_vfo->channel.tx_power], 3);
|
memcpy(&tx_power, &g_eeprom.calib.tx_band_power[band].level[p_vfo->channel.tx_power], 3);
|
||||||
|
|
||||||
#ifdef ENABLE_REDUCE_LOW_MID_TX_POWER
|
#ifdef ENABLE_REDUCE_LOW_MID_TX_POWER
|
||||||
// make low and mid even lower
|
// make low and mid lower
|
||||||
if (p_vfo->channel.tx_power == OUTPUT_POWER_LOW)
|
if (p_vfo->channel.tx_power == OUTPUT_POWER_LOW)
|
||||||
{
|
{
|
||||||
tx_power[0] /= 5; //tx_power[0] /= 8;
|
tx_power[0] /= 10;
|
||||||
tx_power[1] /= 5; //tx_power[1] /= 8;
|
tx_power[1] /= 10;
|
||||||
tx_power[2] /= 5; //tx_power[2] /= 8; get more low power
|
tx_power[2] /= 10;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (p_vfo->channel.tx_power == OUTPUT_POWER_MID)
|
if (p_vfo->channel.tx_power == OUTPUT_POWER_MID)
|
||||||
{
|
{
|
||||||
tx_power[0] /= 3; //tx_power[0] /= 5;
|
tx_power[0] /= 2;
|
||||||
tx_power[1] /= 3; //tx_power[1] /= 5;
|
tx_power[1] /= 2;
|
||||||
tx_power[2] /= 3; //tx_power[2] /= 5; get more low power
|
tx_power[2] /= 2;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user