0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-28 22:31:25 +03:00

Compander disabled compile option by default

This commit is contained in:
OneOfEleven 2023-09-25 19:38:11 +01:00
parent 25ce0a35e5
commit 00301e564c
4 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ ENABLE_TX_WHEN_AM := 0
ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1 ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1
ENABLE_MAIN_KEY_HOLD := 1 ENABLE_MAIN_KEY_HOLD := 1
ENABLE_BOOT_BEEPS := 0 ENABLE_BOOT_BEEPS := 0
ENABLE_COMPANDER := 1 ENABLE_COMPANDER := 0
ENABLE_SHOW_CHARGE_LEVEL := 0 ENABLE_SHOW_CHARGE_LEVEL := 0
ENABLE_REVERSE_BAT_SYMBOL := 1 ENABLE_REVERSE_BAT_SYMBOL := 1
ENABLE_NO_SCAN_TIMEOUT := 1 ENABLE_NO_SCAN_TIMEOUT := 1

View File

@ -536,9 +536,9 @@ void BK4819_SetFilterBandwidth(const BK4819_FilterBandwidth_t Bandwidth, const b
// if REG_43 <5> == 1 RF filter bandwidth * 2 // if REG_43 <5> == 1 RF filter bandwidth * 2
// //
// REG_43 <8:6> 1 AFTxLPF2 filter Band Width // REG_43 <8:6> 1 AFTxLPF2 filter Band Width
// 1 = 2.5 kHz (for 12.5k Channel Space) // 1 = 2.5 kHz (for 12.5k channel space)
// 2 = 2.75 kHz // 2 = 2.75 kHz
// 0 = 3.0 kHz (for 25k Channel Space) // 0 = 3.0 kHz (for 25k channel space)
// 3 = 3.5 kHz // 3 = 3.5 kHz
// 4 = 4.5 kHz // 4 = 4.5 kHz
// 5 = 4.25 kHz // 5 = 4.25 kHz
@ -571,7 +571,7 @@ void BK4819_SetFilterBandwidth(const BK4819_FilterBandwidth_t Bandwidth, const b
} }
else else
{ {
BK4819_WriteRegister(BK4819_REG_43, BK4819_WriteRegister(BK4819_REG_43, // 0x3028); // 0 011 000 000 10 1 0 00
(0u << 15) | // 0 (0u << 15) | // 0
(3u << 12) | // 3 RF filter bandwidth (3u << 12) | // 3 RF filter bandwidth
// (0u << 9) | // 0 RF filter bandwidth when signal is weak // (0u << 9) | // 0 RF filter bandwidth when signal is weak

Binary file not shown.

Binary file not shown.