mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Corrected trace glitch on pre-triggered condition
This commit is contained in:
parent
7f98710c19
commit
71cb2c22d4
@ -91,7 +91,7 @@ void ScopeVis::feed(SampleVector::const_iterator begin, SampleVector::const_iter
|
||||
m_triggerPoint = begin;
|
||||
// fill beginning of m_trace with delayed samples from the trace memory FIFO. Increment m_fill accordingly.
|
||||
if (m_triggerPre) { // do this process only if there is a pre-trigger delay
|
||||
std::copy(m_traceback.end() - m_triggerPre, m_traceback.end() - 1, m_trace.begin());
|
||||
std::copy(m_traceback.end() - m_triggerPre - 1, m_traceback.end() - 1, m_trace.begin());
|
||||
m_fill = m_triggerPre; // Increment m_fill accordingly (from 0).
|
||||
}
|
||||
break;
|
||||
|
@ -730,7 +730,7 @@
|
||||
<string>Pre-trigger delay</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>100</number>
|
||||
<number>99</number>
|
||||
</property>
|
||||
<property name="pageStep">
|
||||
<number>1</number>
|
||||
|
Loading…
Reference in New Issue
Block a user