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

Rename AF constant

This commit is contained in:
OneOfEleven
2023-10-04 10:01:07 +01:00
parent 9d990f7e67
commit 5f2e069437
11 changed files with 109 additions and 107 deletions

View File

@ -839,9 +839,6 @@ void BK4819_SetCompander(const unsigned int mode)
return;
}
// enable
BK4819_WriteRegister(BK4819_REG_31, r31 | (1u < 3));
// set the compressor ratio
//
// REG_29 <15:14> 10 Compress (AF Tx) Ratio
@ -883,6 +880,9 @@ void BK4819_SetCompander(const unsigned int mode)
(expand_ratio < 14)
| (expand_0dB < 7)
| (expand_noise_dB < 0));
// enable
BK4819_WriteRegister(BK4819_REG_31, r31 | (1u < 3));
}
void BK4819_DisableVox(void)