From 770ea3c58606a79458349aec521a89c07164e082 Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 21 Jul 2015 22:52:52 +0200 Subject: [PATCH] In scope+spectrum combo make spectrum inside scope trace --- sdrbase/dsp/spectrumvis.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdrbase/dsp/spectrumvis.cpp b/sdrbase/dsp/spectrumvis.cpp index ba2013110..da852f1bc 100644 --- a/sdrbase/dsp/spectrumvis.cpp +++ b/sdrbase/dsp/spectrumvis.cpp @@ -37,6 +37,8 @@ void SpectrumVis::configure(MessageQueue* msgQueue, int fftSize, int overlapPerc void SpectrumVis::feedTriggered(SampleVector::const_iterator triggerPoint, SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly) { + feed(triggerPoint, end, positiveOnly); // normal feed from trigger point + /* if (triggerPoint == end) { // the following piece of code allows to terminate the FFT that ends past the end of scope captured data @@ -51,7 +53,7 @@ void SpectrumVis::feedTriggered(SampleVector::const_iterator triggerPoint, Sampl else { feed(triggerPoint, end, positiveOnly); // normal feed from trigger point - } + }*/ } void SpectrumVis::feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly)