From 1c3ec5cb4904d61648c0f2fe45d99234886e75f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Hamal=20Dvo=C5=99=C3=A1k?= Date: Wed, 10 Jul 2024 10:10:29 +0200 Subject: [PATCH] Allow more precise tuning --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 1f0e808..cd0186c 100644 --- a/src/main.c +++ b/src/main.c @@ -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)