Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 00efd405 authored by Jussi Lindgren's avatar Jussi Lindgren
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -332,6 +332,9 @@ boolean CDriftCorrection::correctDrift(int64 i64Correction, uint64& ui64TotalSam ...@@ -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_f64DriftEstimate-=l_ui64SamplesToRemove;
m_ui64CorrectedSampleCount-=l_ui64SamplesToRemove; m_ui64CorrectedSampleCount-=l_ui64SamplesToRemove;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment