From 31655a810266ef9d19e52193176895b40ef81430 Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Sat, 6 Mar 2021 14:19:01 +0100 Subject: [PATCH] R optimization only in low input mode --- sa_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sa_core.c b/sa_core.c index eabd398..1674a5d 100644 --- a/sa_core.c +++ b/sa_core.c @@ -2579,7 +2579,7 @@ modulation_again: #define TXCO_DIV3 10000000 if (setting.R == 0) { - if (lf < LOW_MAX_FREQ && lf >= TXCO_DIV3) { + if (lf < LOW_MAX_FREQ && lf >= TXCO_DIV3 && MODE_INPUT(setting.mode)) { freq_t tf = ((lf + actual_rbw_x10*100) / TCXO) * TCXO; if (tf + actual_rbw_x10*100 >= lf && tf < lf + actual_rbw_x10*100) { ADF4351_R_counter(6);