Remove refresh and spur removal working

Removed_REF_marker
erikkaashoek 5 years ago
parent 121af7f6bb
commit e517494946

@ -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 * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option) * the Free Software Foundation; either version 3, or (at your option)
* any later version. * any later version.
@ -1943,7 +1943,7 @@ modulation_again:
#endif #endif
} }
if (setting.spur_removal){ // If in low input mode and spur reduction is on 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 { // else low/above IF
if (setting.spur_removal == 1) if (setting.spur_removal == 1)
setting.below_IF = S_AUTO_ON; // use below IF in first pass 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) { } else if ( MODE_INPUT(setting.mode) && setting.frequency_step > 0) {
sweep_counter++; sweep_counter++;
#if 0
if (sweep_counter > 50 ) { // refresh HW after 50 sweeps if (sweep_counter > 50 ) { // refresh HW after 50 sweeps
dirty = true; dirty = true;
refreshing = true; refreshing = true;
sweep_counter = 0; sweep_counter = 0;
} }
#endif
} }
again: // Waiting for a trigger jumps back to here again: // Waiting for a trigger jumps back to here

Loading…
Cancel
Save

Powered by TurnKey Linux.