mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 14:21:25 +03:00
Test with TX filter disabled
This commit is contained in:
parent
f433ff6bae
commit
1ea88af022
2
Makefile
2
Makefile
@ -86,7 +86,7 @@ ENABLE_SIDE_BUTT_MENU := 0
|
||||
# Key Lock 400 B
|
||||
ENABLE_KEYLOCK := 0
|
||||
# panadapter 1.5kB
|
||||
ENABLE_PANADAPTER := 1
|
||||
ENABLE_PANADAPTER := 0
|
||||
ENABLE_PANADAPTER_PEAK_FREQ := 0
|
||||
# single VFO 1.5kB
|
||||
ENABLE_SINGLE_VFO_CHAN := 1
|
||||
|
@ -1201,8 +1201,8 @@ void APP_end_tx(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
// re-enable 300Hz TX HPF
|
||||
BK4819_write_reg(0x2B, BK4819_read_reg(0x2B) & ~(1u << 2));
|
||||
// re-enable TX HPF & LPF
|
||||
BK4819_write_reg(0x2B, BK4819_read_reg(0x2B) & ~(1u << 2) & ~(1u << 1));
|
||||
|
||||
RADIO_setup_registers(false);
|
||||
|
||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
18
functions.c
18
functions.c
@ -298,11 +298,11 @@ void FUNCTION_Select(function_type_t Function)
|
||||
// 1of11 .. TEST ONLY
|
||||
// if (g_current_vfo->p_tx->code_type == CODE_TYPE_NONE)
|
||||
{
|
||||
// const uint16_t reg = BK4819_read_reg(0x2B);
|
||||
#if 0
|
||||
BK4819_write_reg(0x2B, reg | (1u << 2)); // disable the 300Hz TX HPF
|
||||
//BK4819_write_reg(0x2B, reg | (1u << 1)); // disable the TX LPF
|
||||
#else
|
||||
const uint16_t reg = BK4819_read_reg(0x2B);
|
||||
// #if 0
|
||||
// BK4819_write_reg(0x2B, reg | (1u << 2)); // disable the 300Hz TX HPF
|
||||
BK4819_write_reg(0x2B, reg | (1u << 2) | (1u << 1)); // disable TX LPF & HPF
|
||||
// #else
|
||||
// BK4819_write_reg(0x2B, reg & ~(1u << 2)); // enable the 300Hz TX HPF
|
||||
|
||||
// TX 300Hz LPF
|
||||
@ -320,9 +320,9 @@ void FUNCTION_Select(function_type_t Function)
|
||||
//BK4819_write_reg(0x55, 0x31E7); //
|
||||
//BK4819_write_reg(0x54, 0x8ED8); // +3dB
|
||||
//BK4819_write_reg(0x55, 0x3232); //
|
||||
BK4819_write_reg(0x54, 0x8D8F); // +4dB
|
||||
BK4819_write_reg(0x55, 0x3359); //
|
||||
#endif
|
||||
// BK4819_write_reg(0x54, 0x8D8F); // +4dB
|
||||
// BK4819_write_reg(0x55, 0x3359); //
|
||||
// #endif
|
||||
|
||||
// TX 3kHz HPF
|
||||
//BK4819_write_reg(0x74, 64002); // -1dB
|
||||
@ -330,7 +330,7 @@ void FUNCTION_Select(function_type_t Function)
|
||||
//BK4819_write_reg(0x74, 58908); // +1dB
|
||||
//BK4819_write_reg(0x74, 57122); // +2dB
|
||||
//BK4819_write_reg(0x74, 54317); // +3dB
|
||||
BK4819_write_reg(0x74, 52277); // +4dB
|
||||
// BK4819_write_reg(0x74, 52277); // +4dB
|
||||
// #endif
|
||||
}
|
||||
// else
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
enum {
|
||||
FM_DEV_LIMIT_LOWER_NARROW = 950,
|
||||
FM_DEV_LIMIT_DEFAULT_NARROW = 1200, // 900
|
||||
FM_DEV_LIMIT_DEFAULT_NARROW = 1200,
|
||||
FM_DEV_LIMIT_UPPER_NARROW = 1600,
|
||||
|
||||
FM_DEV_LIMIT_LOWER_WIDE = 950,
|
||||
|
Loading…
x
Reference in New Issue
Block a user