0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 06:39:49 +03:00

Renames 'ENABLE_SQUELCH_LOWER'. Added faster channel scan option (but makes squelch/grn-LED/back-light more twitchy)

This commit is contained in:
OneOfEleven
2023-10-03 11:32:04 +01:00
parent b3ca095af1
commit 010ea0308a
8 changed files with 47 additions and 40 deletions

View File

@ -716,14 +716,14 @@ void BK4819_SetupSquelch(
// 0 ~ 255
//
BK4819_WriteRegister(BK4819_REG_4E, // 01 101 11 1 00000000
#if 0
#ifndef ENABLE_FASTER_CHANNEL_SCAN
// original
(1u << 14) // 1 ???
| (5u << 11) // 5 squelch = 1 delay .. 0 ~ 7
| (3u << 9) // 3 squelch = 0 delay .. 0 ~ 3
| SquelchOpenGlitchThresh); // 0 ~ 255
#else
// supposedly fast
// faster (but twitchier)
(1u << 14) // 1 ???
| SquelchOpenGlitchThresh); // 0 ~ 255
#endif