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
This commit is contained in:
Brumi-2021 2023-08-30 17:13:40 +02:00 committed by GitHub
parent bd4948602a
commit c28b608146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ void CaptureProcessor::sample_rate_config(const SampleRateConfigMessage& message
// waterfall runs slower. Reduce the update interval so it runs faster. // waterfall runs slower. Reduce the update interval so it runs faster.
// NB: Trade off: looks nicer, but more frequent updates == more CPU. // NB: Trade off: looks nicer, but more frequent updates == more CPU.
if (sample_rate >= 1'500'000) 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. // Mystery scalars for decimator configuration.
// TODO: figure these out and add a real comment. // TODO: figure these out and add a real comment.