receiver bug fix: function pointer not initialized as null in dataprocessor

This commit is contained in:
2019-04-18 09:27:02 +02:00
parent 6b4d6084f5
commit 708975acb5
5 changed files with 17 additions and 5 deletions

View File

@ -54,7 +54,10 @@ DataProcessor::DataProcessor(int ind, detectorType dtype, Fifo* f,
firstMeasurementIndex(0),
numTotalFramesCaught(0),
numFramesCaught(0),
currentFrameIndex(0)
currentFrameIndex(0),
rawDataReadyCallBack(nullptr),
rawDataModifyReadyCallBack(nullptr),
pRawDataReady(nullptr)
{
if(ThreadObject::CreateThread() == FAIL)
throw sls::RuntimeError("Could not create processing thread");