mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -04:00 
			
		
		
		
	Scope: removed breaking optimization thus fixing trigger. Should fix issue #233
This commit is contained in:
		
							parent
							
								
									ea328ca85e
								
							
						
					
					
						commit
						02d0a46f31
					
				| @ -23,7 +23,7 @@ | ||||
| 
 | ||||
| const PluginDescriptor ChannelAnalyzerPlugin::m_pluginDescriptor = { | ||||
| 	QString("Channel Analyzer"), | ||||
| 	QString("4.2.3"), | ||||
| 	QString("4.2.4"), | ||||
| 	QString("(c) Edouard Griffiths, F4EXB"), | ||||
| 	QString("https://github.com/f4exb/sdrangel"), | ||||
| 	true, | ||||
|  | ||||
| @ -27,7 +27,7 @@ | ||||
| const PluginDescriptor ATVDemodPlugin::m_ptrPluginDescriptor = | ||||
| { | ||||
| 	QString("ATV Demodulator"), | ||||
| 	QString("4.2.3"), | ||||
| 	QString("4.2.4"), | ||||
|     QString("(c) F4HKW for F4EXB / SDRAngel"), | ||||
| 	QString("https://github.com/f4exb/sdrangel"), | ||||
| 	true, | ||||
|  | ||||
| @ -368,7 +368,7 @@ void ScopeVis::processTrace(const SampleVector::const_iterator& cbegin, const Sa | ||||
|                     } | ||||
|                     else // this was the last trigger then start trace
 | ||||
|                     { | ||||
|                         m_traceStart = true; // start trace processing
 | ||||
|                         m_traceStart = true; // start of trace processing
 | ||||
|                         m_nbSamples = m_traceSize + m_maxTraceDelay; | ||||
|                         m_triggerComparator.reset(); | ||||
|                         m_triggerState = TriggerTriggered; | ||||
| @ -378,15 +378,11 @@ void ScopeVis::processTrace(const SampleVector::const_iterator& cbegin, const Sa | ||||
|                 } | ||||
| 
 | ||||
|                 ++begin; | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|             } // look for trigger
 | ||||
|         } // untriggered or delayed
 | ||||
|     } // triggering active
 | ||||
| 
 | ||||
|     // trace process
 | ||||
|     if (m_glScope->getDataChanged()) // optimization: process trace only if required by glScope
 | ||||
|     { | ||||
|         m_triggerState = TriggerUntriggered; | ||||
|     } | ||||
| 
 | ||||
|     if (m_triggerState == TriggerTriggered) | ||||
|     { | ||||
| @ -395,7 +391,7 @@ void ScopeVis::processTrace(const SampleVector::const_iterator& cbegin, const Sa | ||||
|         SampleVector::iterator mend = m_traceDiscreteMemory.current().current(); | ||||
|         SampleVector::iterator mbegin = mend - count; | ||||
| 
 | ||||
|         if (m_traceStart) | ||||
|         if (m_traceStart) // start of trace processing
 | ||||
|         { | ||||
|             // trace back
 | ||||
|             if (m_maxTraceDelay > 0) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user