From e5174949466075db0ecf6d7e264f44f3ac3c5fc0 Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Mon, 7 Dec 2020 16:13:39 +0100 Subject: [PATCH] Remove refresh and spur removal working --- sa_core.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sa_core.c b/sa_core.c index 112c554..45a2969 100644 --- a/sa_core.c +++ b/sa_core.c @@ -1,5 +1,5 @@ /* - * This is free software; you can redistribute it and/or modify +* This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. @@ -1943,7 +1943,7 @@ modulation_again: #endif } if (setting.spur_removal){ // If in low input mode and spur reduction is on - if (S_IS_AUTO(setting.below_IF) && (lf < local_IF / 2 || lf > local_IF) ) // if below 150MHz and auto_below_IF <-------------------TODO --------------------- + if (S_IS_AUTO(setting.below_IF) && lf < local_IF / 2 ) // if below 150MHz and auto_below_IF <-------------------TODO --------------------- { // else low/above IF if (setting.spur_removal == 1) setting.below_IF = S_AUTO_ON; // use below IF in first pass @@ -2245,11 +2245,13 @@ static bool sweep(bool break_on_operation) } } else if ( MODE_INPUT(setting.mode) && setting.frequency_step > 0) { sweep_counter++; +#if 0 if (sweep_counter > 50 ) { // refresh HW after 50 sweeps dirty = true; refreshing = true; sweep_counter = 0; } +#endif } again: // Waiting for a trigger jumps back to here