1
0
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:
f4exb 2015-07-22 01:38:11 +02:00
parent 7f98710c19
commit 71cb2c22d4
2 changed files with 2 additions and 2 deletions

View File

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

View File

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