1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Merge pull request #1902 from srcejon/freq_scanner

Attempt to fix scope trigger
This commit is contained in:
Edouard Griffiths 2023-11-25 10:38:53 +01:00 committed by GitHub
commit 7a71968cbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -609,7 +609,7 @@ void ScopeVis::processTrace(const std::vector<ComplexVector::const_iterator>& vc
} }
uint32_t triggerStreamIndex = triggerCondition->m_triggerData.m_streamIndex; uint32_t triggerStreamIndex = triggerCondition->m_triggerData.m_streamIndex;
const Complex& s = *vbegin[triggerStreamIndex]; const Complex& s = vbegin[triggerStreamIndex][processed];
if (m_triggerComparator.triggered(s, *triggerCondition)) // matched the current trigger if (m_triggerComparator.triggered(s, *triggerCondition)) // matched the current trigger
{ {