pureRSSI_tperform(boolbreak_on_operation,inti,freq_tf,inttracking)// Measure the RSSI for one frequency, used from sweep and other measurement routines. Must do all HW setup
pureRSSI_tperform(boolbreak_on_operation,inti,freq_tf,inttracking)// Measure the RSSI for one frequency, used from sweep and other measurement routines. Must do all HW setup
@ -2543,13 +2547,22 @@ pureRSSI_t perform(bool break_on_operation, int i, freq_t f, int tracking) /
if((setting.frequency_step!=0||setting.level_sweep!=0.0||i==0)){// Initialize or adapt output levels
if((setting.frequency_step!=0||setting.level_sweep!=0.0||i==0)){// Initialize or adapt output levels
if(setting.mode==M_GENLOW){// if in low output mode and level sweep or frequency weep is active or at start of sweep
if(setting.mode==M_GENLOW){// if in low output mode and level sweep or frequency weep is active or at start of sweep
#ifdef TINYSA4
if(test_output){
enable_rx_output(!test_output_switch);
SI4463_set_output_level(test_output_drive);
PE4302_Write_Byte(test_output_attenuate);
}else
#endif
{
floatls=setting.level_sweep;// calculate and set the output level
floatls=setting.level_sweep;// calculate and set the output level