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

Updated TX audio bar

This commit is contained in:
OneOfEleven
2023-10-11 23:07:58 +01:00
parent 04f9262635
commit a4bb69a306
10 changed files with 95 additions and 76 deletions

View File

@ -976,7 +976,8 @@ void BK4819_EnableDTMF(void)
// <3:0> 14 Max symbol number for SelCall detection
//
// const uint16_t threshold = 24; // default, but doesn't decode non-QS radios
const uint16_t threshold = 160; // but 128 ~ 247 does
const uint16_t threshold = 130; // but 128 ~ 247 does
// const uint16_t threshold = 8; // 0 ~ 63 ? .. doesn't work with A and B's :(
BK4819_WriteRegister(BK4819_REG_24, // 1 00011000 1 1 1 1110
(1u << BK4819_REG_24_SHIFT_UNKNOWN_15) |
(threshold << BK4819_REG_24_SHIFT_THRESHOLD) | // 0 ~ 255