0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-27 22:01:26 +03:00

temporary disable FM deviation adjust

This commit is contained in:
OneOfEleven 2024-01-14 09:34:25 +00:00
parent 4166bf5358
commit 5bdbf3fd4b
3 changed files with 5 additions and 0 deletions

View File

@ -444,9 +444,14 @@ void BK4819_set_TX_deviation(uint16_t deviation)
// const uint8_t scrambler = (BK4819_read_reg(0x31) >> 1) & 1u;
// if (scrambler)
// deviation -= 200;
#if 0
if (deviation > 4095)
deviation = 4095;
BK4819_write_reg(0x40, (3u << 12) | deviation); // deviaion 0 ~ 4095
#else
(void)deviation;
#endif
}
void BK4819_SetFilterBandwidth(const BK4819_filter_bandwidth_t Bandwidth)

Binary file not shown.

Binary file not shown.