|
|
|
|
@ -819,7 +819,7 @@ void set_gridlines(int d)
|
|
|
|
|
|
|
|
|
|
#ifdef TINYSA4
|
|
|
|
|
|
|
|
|
|
int set_actual_freq(int f)
|
|
|
|
|
int set_freq_corr(int f)
|
|
|
|
|
{
|
|
|
|
|
if (f < - 100000 || f > +100000)
|
|
|
|
|
return -1;
|
|
|
|
|
@ -830,6 +830,18 @@ int set_actual_freq(int f)
|
|
|
|
|
update_grid();
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int set_actual_freq(freq_t f)
|
|
|
|
|
{
|
|
|
|
|
if (f < 3000000000 - 30000 || f > 3000000000 + 30000)
|
|
|
|
|
return -1;
|
|
|
|
|
config.setting_frequency_30mhz =f;
|
|
|
|
|
ADF4351_recalculate_PFDRFout();
|
|
|
|
|
config_save();
|
|
|
|
|
dirty = true;
|
|
|
|
|
update_grid();
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
#else
|
|
|
|
|
void set_10mhz(freq_t f)
|
|
|
|
|
{
|
|
|
|
|
@ -5326,7 +5338,7 @@ static volatile int dummy;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define __MIRROR_MASKING__
|
|
|
|
|
@ -5629,7 +5641,7 @@ static volatile int dummy;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// } while (MODE_OUTPUT(setting.mode) && setting.modulation != MO_NONE); // Never exit sweep loop while in output mode with modulation
|
|
|
|
|
#if 0 // Read ADC
|
|
|
|
|
extern int fix_fft(short fr[], short fi[], short m, short inverse);
|
|
|
|
|
|