|
|
|
@ -40,6 +40,8 @@ uint16_t actual_rbw_x10 = 0;
|
|
|
|
uint16_t vbwSteps = 1;
|
|
|
|
uint16_t vbwSteps = 1;
|
|
|
|
uint32_t minFreq = 0;
|
|
|
|
uint32_t minFreq = 0;
|
|
|
|
uint32_t maxFreq = 520000000;
|
|
|
|
uint32_t maxFreq = 520000000;
|
|
|
|
|
|
|
|
static unsigned long old_freq[5] = { 0, 0, 0, 0,0};
|
|
|
|
|
|
|
|
static unsigned long real_old_freq[5] = { 0, 0, 0, 0,0};
|
|
|
|
|
|
|
|
|
|
|
|
//int setting.refer = -1; // Off by default
|
|
|
|
//int setting.refer = -1; // Off by default
|
|
|
|
const int reffer_freq[] = {30000000, 15000000, 10000000, 4000000, 3000000, 2000000, 1000000};
|
|
|
|
const int reffer_freq[] = {30000000, 15000000, 10000000, 4000000, 3000000, 2000000, 1000000};
|
|
|
|
@ -455,9 +457,9 @@ void set_R(int f)
|
|
|
|
|
|
|
|
|
|
|
|
void set_modulo(uint32_t f)
|
|
|
|
void set_modulo(uint32_t f)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ADF4350_modulo = f;
|
|
|
|
ADF4351_modulo(f);
|
|
|
|
//ADF4351_spur_mode(f);
|
|
|
|
ADF4351_force_refresh();
|
|
|
|
dirty = true;
|
|
|
|
ADF4351_set_frequency(0, real_old_freq[ADF4351_LO]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
@ -1171,8 +1173,6 @@ uint32_t peakFreq;
|
|
|
|
int peakIndex;
|
|
|
|
int peakIndex;
|
|
|
|
float temppeakLevel;
|
|
|
|
float temppeakLevel;
|
|
|
|
int temppeakIndex;
|
|
|
|
int temppeakIndex;
|
|
|
|
static unsigned long old_freq[5] = { 0, 0, 0, 0,0};
|
|
|
|
|
|
|
|
static unsigned long real_old_freq[5] = { 0, 0, 0, 0,0};
|
|
|
|
|
|
|
|
// volatile int t;
|
|
|
|
// volatile int t;
|
|
|
|
|
|
|
|
|
|
|
|
//static uint32_t extra_vbw_step_time = 0;
|
|
|
|
//static uint32_t extra_vbw_step_time = 0;
|
|
|
|
|