From f5aeac7465aba08661078538b8634c0e8dbfbaa1 Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Thu, 10 Jun 2021 08:23:54 +0200 Subject: [PATCH] No frequency error correction in large RBW --- sa_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sa_core.c b/sa_core.c index 1aa6a0c..0a08eaa 100644 --- a/sa_core.c +++ b/sa_core.c @@ -3323,7 +3323,7 @@ again: // Spur redu } set_freq(ADF4351_LO, target_f); #if 1 // Compensate frequency ADF4350 error with SI4468 - if (actual_rbw_x10 < 10000 || setting.frequency_step < 100000) { //TODO always compensate for the moment as this eliminates artifacts at larger RBW + if (actual_rbw_x10 < 1000 || setting.frequency_step < 100000) { //TODO always compensate for the moment as this eliminates artifacts at larger RBW int32_t error_f = 0; if (real_old_freq[ADF4351_LO] > target_f) { error_f = real_old_freq[ADF4351_LO] - target_f;