1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00

In scope+spectrum combo make spectrum inside scope trace

This commit is contained in:
f4exb 2015-07-21 22:52:52 +02:00
parent 833b8c30c7
commit 770ea3c586

View File

@ -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)