mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-30 05:52:24 -04:00
Corrected intempestive trigger on pre-trigger delay condition
This commit is contained in:
parent
71cb2c22d4
commit
e8708d00fd
@ -82,7 +82,9 @@ void ScopeVis::feed(SampleVector::const_iterator begin, SampleVector::const_iter
|
|||||||
while(begin < end)
|
while(begin < end)
|
||||||
{
|
{
|
||||||
bool trigger = triggerCondition(begin);
|
bool trigger = triggerCondition(begin);
|
||||||
if ((trigger ^ !m_triggerPositiveEdge) && (m_tracebackCount > m_triggerPre))
|
if (m_tracebackCount > m_triggerPre)
|
||||||
|
{
|
||||||
|
if (trigger ^ !m_triggerPositiveEdge)
|
||||||
{
|
{
|
||||||
if (m_armed)
|
if (m_armed)
|
||||||
{
|
{
|
||||||
@ -101,6 +103,7 @@ void ScopeVis::feed(SampleVector::const_iterator begin, SampleVector::const_iter
|
|||||||
{
|
{
|
||||||
m_armed = true;
|
m_armed = true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
++begin;
|
++begin;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user