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:
parent
4166bf5358
commit
5bdbf3fd4b
@ -444,9 +444,14 @@ void BK4819_set_TX_deviation(uint16_t deviation)
|
|||||||
// const uint8_t scrambler = (BK4819_read_reg(0x31) >> 1) & 1u;
|
// const uint8_t scrambler = (BK4819_read_reg(0x31) >> 1) & 1u;
|
||||||
// if (scrambler)
|
// if (scrambler)
|
||||||
// deviation -= 200;
|
// deviation -= 200;
|
||||||
|
|
||||||
|
#if 0
|
||||||
if (deviation > 4095)
|
if (deviation > 4095)
|
||||||
deviation = 4095;
|
deviation = 4095;
|
||||||
BK4819_write_reg(0x40, (3u << 12) | deviation); // deviaion 0 ~ 4095
|
BK4819_write_reg(0x40, (3u << 12) | deviation); // deviaion 0 ~ 4095
|
||||||
|
#else
|
||||||
|
(void)deviation;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void BK4819_SetFilterBandwidth(const BK4819_filter_bandwidth_t Bandwidth)
|
void BK4819_SetFilterBandwidth(const BK4819_filter_bandwidth_t Bandwidth)
|
||||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user