Commit 00efd405 authored by Jussi Lindgren's avatar Jussi Lindgren

Applications: Drift Correction in AS now announces truncates as well

The signal truncates are announced by incorrect+correct
stimulation pair where both have the same timestamp. If signal
has been padded, the two have a time difference.
parent 50318007
......@@ -332,6 +332,9 @@ boolean CDriftCorrection::correctDrift(int64 i64Correction, uint64& ui64TotalSam
}
}
oPendingStimulationSet.appendStimulation(OVTK_GDF_Incorrect, l_ui64LastSampleDate, 0);
oPendingStimulationSet.appendStimulation(OVTK_GDF_Correct, l_ui64LastSampleDate, 0);
m_f64DriftEstimate-=l_ui64SamplesToRemove;
m_ui64CorrectedSampleCount-=l_ui64SamplesToRemove;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment