@ -1424,6 +1424,7 @@ static float old_a = -150; // cached value to reduce writes to level re
staticpureRSSI_tcorrect_RSSI;
staticpureRSSI_tcorrect_RSSI_freq;
systime_tstart_of_sweep_timestamp;
staticsystime_tsweep_elapsed=0;// Time since first start of sweeping, used only for auto attenuate
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
{
@ -1432,6 +1433,7 @@ pureRSSI_t perform(bool break_on_operation, int i, uint32_t f, int tracking)
apply_settings();// Initialize HW
scandirty=true;// This is the first pass with new settings
dirty=false;
sweep_elapsed=chVTGetSystemTimeX();// for measuring accumulated time
if(setting.spur==-1)setting.spur=1;// ensure spur processing starts in right phase
// Set for actual time pre calculated value (update after sweep)