From c28b608146636207dafd747eb6fa16dbb9f88223 Mon Sep 17 00:00:00 2001 From: Brumi-2021 <86470699+Brumi-2021@users.noreply.github.com> Date: Wed, 30 Aug 2023 17:13:40 +0200 Subject: [PATCH] Minor issue : Slow down scrolling speed in BW 1.5Mhz onwards , and adding some TODO comments. (#1419) * Slow down scrolling speed in BW 1.5Mhz onwards * Revert added comments --- firmware/baseband/proc_capture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/baseband/proc_capture.cpp b/firmware/baseband/proc_capture.cpp index ad53acbf..13573802 100644 --- a/firmware/baseband/proc_capture.cpp +++ b/firmware/baseband/proc_capture.cpp @@ -102,7 +102,7 @@ void CaptureProcessor::sample_rate_config(const SampleRateConfigMessage& message // waterfall runs slower. Reduce the update interval so it runs faster. // NB: Trade off: looks nicer, but more frequent updates == more CPU. if (sample_rate >= 1'500'000) - spectrum_interval_samples /= (sample_rate / 500'000); + spectrum_interval_samples /= (sample_rate / 750'000); // Mystery scalars for decimator configuration. // TODO: figure these out and add a real comment.