Fix: load SA stop frequency from setup file

This commit is contained in:
Jan Käberich 2022-02-03 12:07:04 +01:00
parent 7ceaee1050
commit 9e614a23f8

View File

@ -365,7 +365,7 @@ void SpectrumAnalyzer::fromJSON(nlohmann::json j)
if(sweep.contains("frequency")) {
auto freq = sweep["frequency"];
SetStartFreq(freq.value("start", settings.f_start));
SetStartFreq(freq.value("start", settings.f_start));
SetStopFreq(freq.value("stop", settings.f_start));
}
if(sweep.contains("acquisition")) {
auto acq = sweep["acquisition"];