staticfloatold_a=-150;// cached value to reduce writes to level registers
staticfloatold_a=-150;// cached value to reduce writes to level registers
staticpureRSSI_tcorrect_RSSI;
staticpureRSSI_tcorrect_RSSI;
staticpureRSSI_tcorrect_RSSI_sweep;
staticpureRSSI_tcorrect_RSSI_freq;
systime_tstart_of_sweep_timestamp;
systime_tstart_of_sweep_timestamp;
pureRSSI_tperform(boolbreak_on_operation,inti,uint32_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,uint32_tf,inttracking)// Measure the RSSI for one frequency, used from sweep and other measurement routines. Must do all HW setup
@ -1436,15 +1436,16 @@ pureRSSI_t perform(bool break_on_operation, int i, uint32_t f, int tracking)
// Calculate the RSSI correction for later use
// Calculate the RSSI correction for later use
if(MODE_INPUT(setting.mode)){// only cases where the value can change on 0 point of sweep
if(MODE_INPUT(setting.mode)){// only cases where the value can change on 0 point of sweep