if(setting.step_delay_mode==SD_FAST){// If in extra fast scanning mode and NOT SI4432_RX !!!!!!
@ -1581,7 +1588,7 @@ void update_rbw(void) // calculate the actual_rbw and the vbwSteps (#
temp_actual_rbw_x10=setting.vbw_x10;
#endif
}else
temp_actual_rbw_x10=2*setting.vbw_x10;// rbw is twice the frequency step to ensure no gaps in coverage
temp_actual_rbw_x10=setting.vbw_x10;// rbw is NOT twice the frequency step to ensure no gaps in coverage
}
#ifdef __SI4432__
if(temp_actual_rbw_x10<26)
@ -1607,8 +1614,8 @@ void update_rbw(void) // calculate the actual_rbw and the vbwSteps (#
// actual_rbw_x10 = 3000; // if spur suppression reduce max rbw to fit within BPF
#endif
actual_rbw_x10=set_rbw(actual_rbw_x10);// see what rbw the SI4432 can realize
if(setting.frequency_step >0&&MODE_INPUT(setting.mode)){// When doing frequency scanning in input mode
vbwSteps=((int)(2*(setting.vbw_x10+(actual_rbw_x10/2))/actual_rbw_x10));// calculate # steps in between each frequency step due to rbw being less than frequency step
if(setting.vbw_x10 >actual_rbw_x10&&setting.frequency_step >0&&MODE_INPUT(setting.mode)){// When doing frequency scanning in input mode
vbwSteps=(setting.vbw_x10/actual_rbw_x10)+1;//((int)(2 * (setting.vbw_x10 + (actual_rbw_x10/8)) / actual_rbw_x10)); // calculate # steps in between each frequency step due to rbw being less than frequency step
if(setting.step_delay_mode==SD_PRECISE)// if in Precise scanning
vbwSteps*=2;// use twice as many steps
if(vbwSteps<1)// at least one step
@ -1727,8 +1734,10 @@ static const unsigned int spur_alternate_IF = DEFAULT_SPUR_IF; // if the
staticconstintspur_table[]=// Frequencies to avoid
{
117716000,
487500000,
650700000,
746083000,
// 1956000000,
// 1956000000,
#if 0
// 580000, // 433.8 MHz table
// 880000, //?
@ -2005,7 +2014,7 @@ modulation_again:
}
// -------------- set ultra ---------------------------------