Various small bugfixes

- Improved device communication (callbacks for transmissions working properly now)
- Honor averaging when calibrating
- Ignore delayed points from last sweep during calibration
- Stop the sweep when disconnecting
This commit is contained in:
Jan Käberich 2020-10-29 19:27:04 +01:00
parent aee73f0c87
commit c0e4f41115
9 changed files with 142 additions and 63 deletions

View file

@ -254,7 +254,7 @@ void SpectrumAnalyzer::SettingsChanged()
if(window->getDevice()) {
window->getDevice()->Configure(settings);
}
average.reset();
average.reset(settings.pointNum);
UpdateAverageCount();
traceModel.clearVNAData();
emit traceModel.SpanChanged(settings.f_start, settings.f_stop);