Allow more precise tuning

This commit is contained in:
Jan Hamal Dvořák 2024-07-10 10:10:29 +02:00
parent 12c53377f6
commit 1c3ec5cb49

View file

@ -290,7 +290,7 @@ static void lo_tweak(uint32_t *buf, uint32_t phase)
static void rx_lo_init(double req_freq, bool align)
{
const double step_hz = (double)CLK_SYS_HZ / (4 << LO_BITS_DEPTH);
const double step_hz = (double)CLK_SYS_HZ / (8 << LO_BITS_DEPTH);
double freq = req_freq;
if (align)