Browse Source

Merge pull request #2903 from srcejon/fix_1901

Fix scope trace buffer corruption
chirpmodem-v8.0.0
Edouard Griffiths 3 months ago committed by GitHub
parent
commit
58e25ab37c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      sdrbase/dsp/scopevis.cpp

2
sdrbase/dsp/scopevis.cpp

@ -504,7 +504,7 @@ void ScopeVis::feed(const std::vector<ComplexVector::const_iterator>& vbegin, in @@ -504,7 +504,7 @@ void ScopeVis::feed(const std::vector<ComplexVector::const_iterator>& vbegin, in
m_triggerLocation = m_triggerLocation < 0 ? 0 : m_triggerLocation; // trim negative values
m_triggerLocation = m_triggerLocation > remainder ? remainder : m_triggerLocation; // trim past begin values
for (auto begin : nvbegin) {
for (auto& begin : nvbegin) {
begin += m_traceSize;
}

Loading…
Cancel
Save