diff --git a/Software/VNA_embedded/Application/SpectrumAnalyzer.cpp b/Software/VNA_embedded/Application/SpectrumAnalyzer.cpp index 475a1c8..1f76bdd 100644 --- a/Software/VNA_embedded/Application/SpectrumAnalyzer.cpp +++ b/Software/VNA_embedded/Application/SpectrumAnalyzer.cpp @@ -60,7 +60,7 @@ static void StartNextSample() { attenuator = 0; // this is the first step in each point, update tracking generator if enabled if (s.trackingGenerator) { - trackingFreq = freq - s.trackingGeneratorOffset; + trackingFreq = freq + s.trackingGeneratorOffset; if(trackingFreq > 0 && trackingFreq <= (int64_t) HW::Info.limits_maxFreq) { // tracking frequency is valid, calculate required settings and select band auto amplitude = HW::GetAmplitudeSettings(s.trackingPower, trackingFreq, s.applySourceCorrection, s.trackingGeneratorPort);