Zero span improvements

This commit is contained in:
Jan Käberich 2022-06-22 23:00:09 +02:00
parent 6393ae7fc3
commit 7151fffcdb
3 changed files with 6 additions and 7 deletions

View file

@ -843,9 +843,8 @@ void VNA::NewDatapoint(Protocol::Datapoint d)
auto vd = VNAData(d);
if(!settings.zerospan) {
vd = average.process(vd);
}
vd = average.process(vd);
if(calMeasuring) {
if(average.currentSweep() == averages) {
// this is the last averaging sweep, use values for calibration