@ -1601,7 +1603,7 @@ void update_rbw(void) // calculate the actual_rbw and the vbwSteps (#
}else{
}else{
setting.vbw_x10=3000;// trick to get right default rbw in zero span mode
setting.vbw_x10=3000;// trick to get right default rbw in zero span mode
}
}
uint32_t temp_actual_rbw_x10=setting.rbw_x10;// requested rbw , 32 bit !!!!!!
freq_t temp_actual_rbw_x10=setting.rbw_x10;// requested rbw , 32 bit !!!!!!
if(temp_actual_rbw_x10==0){// if auto rbw
if(temp_actual_rbw_x10==0){// if auto rbw
if(setting.step_delay_mode==SD_FAST){// if in fast scanning
if(setting.step_delay_mode==SD_FAST){// if in fast scanning
#ifdef __SI4432__
#ifdef __SI4432__
@ -2462,7 +2464,7 @@ modulation_again:
if(MODE_OUTPUT(setting.mode)){// No substepping and no RSSI in output mode
if(MODE_OUTPUT(setting.mode)){// No substepping and no RSSI in output mode
if(break_on_operation&&operation_requested)// break subscanning if requested
if(break_on_operation&&operation_requested)// break subscanning if requested
return(0);// abort
return(0);// abort
if(i==1&&MODE_OUTPUT(setting.mode)&&setting.modulation!=MO_NONE&&setting.modulation!=MO_EXTERNAL){// if in output mode with modulation
if(i==1&&MODE_OUTPUT(setting.mode)&&setting.modulation!=MO_NONE&&setting.modulation!=MO_EXTERNAL){// if in output mode with modulation and LO setup done
// i = 1; // Everything set so skip LO setting
// i = 1; // Everything set so skip LO setting
gotomodulation_again;// Keep repeating sweep loop till user aborts by input
gotomodulation_again;// Keep repeating sweep loop till user aborts by input
}
}
@ -2950,7 +2952,7 @@ sweep_again: // stay in sweep loop when output mo
#define AUTO_TARGET_LEVEL -30
#define AUTO_TARGET_LEVEL -30
#define AUTO_TARGET_WINDOW 2
#define AUTO_TARGET_WINDOW 2
if(!in_selftest&&setting.mode==M_LOW&&setting.auto_attenuation&&max_index[0]>0){// calculate and apply auto attenuate
if(!in_selftest&&setting.mode==M_LOW&&setting.auto_attenuation){// calculate and apply auto attenuate
setting.atten_step=false;// No step attenuate in low mode auto attenuate
setting.atten_step=false;// No step attenuate in low mode auto attenuate