mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-05-18 07:51:19 +03:00
Test disable 300Hz TX HPF when CTCSS/CDCSS is disabled
This commit is contained in:
parent
0f49cf881e
commit
03a70f8967
@ -1201,6 +1201,9 @@ void APP_end_tx(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
// re-enable 300Hz TX HPF
|
||||
BK4819_write_reg(0x2B, BK4819_read_reg(0x2B) & ~(1u << 2));
|
||||
|
||||
RADIO_setup_registers(false);
|
||||
|
||||
if (g_monitor_enabled)
|
||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
@ -294,7 +294,13 @@ void FUNCTION_Select(function_type_t Function)
|
||||
|
||||
if (g_eeprom.config.setting.enable_scrambler)
|
||||
BK4819_set_scrambler(g_current_vfo->channel.scrambler);
|
||||
|
||||
|
||||
// 1of11 .. TEST ONLY
|
||||
if (g_current_vfo->p_tx->code_type == CODE_TYPE_NONE)
|
||||
BK4819_write_reg(0x2B, BK4819_read_reg(0x2B) | (1u << 2)); // disable the 300Hz TX HPF
|
||||
else
|
||||
BK4819_write_reg(0x2B, BK4819_read_reg(0x2B) & ~(1u << 2)); // enable the 300Hz TX HPF
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user