From f7fab25b5368524469de09e50c4e46f567e8a9f9 Mon Sep 17 00:00:00 2001 From: jsiegle <jsiegle@mit.edu> Date: Wed, 29 May 2013 18:11:11 -0400 Subject: [PATCH] Re-enable aux inputs --- Source/Processors/DataThreads/RHD2000Thread.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Processors/DataThreads/RHD2000Thread.cpp b/Source/Processors/DataThreads/RHD2000Thread.cpp index f38604c4b..7e43aac24 100644 --- a/Source/Processors/DataThreads/RHD2000Thread.cpp +++ b/Source/Processors/DataThreads/RHD2000Thread.cpp @@ -810,19 +810,19 @@ bool RHD2000Thread::updateBuffer() if (samp % 4 == 1) { // every 4th sample should have auxiliary input data channel++; - thisSample[channel] = 0; //0.0374 * - // float(dataBlock->auxiliaryData[dataStream][1][samp+0]); + thisSample[channel] = 0.0374 * + float(dataBlock->auxiliaryData[dataStream][1][samp+0]); auxBuffer[channel]=thisSample[channel]; channel++; - thisSample[channel] = 0; //0.0374 * - //float(dataBlock->auxiliaryData[dataStream][1][samp+1]); + thisSample[channel] = 0.0374 * + float(dataBlock->auxiliaryData[dataStream][1][samp+1]); auxBuffer[channel]=thisSample[channel]; channel++; - thisSample[channel] = 0; //0.0374 * - //float(dataBlock->auxiliaryData[dataStream][1][samp+2]); + thisSample[channel] = 0.0374 * + float(dataBlock->auxiliaryData[dataStream][1][samp+2]); auxBuffer[channel]=thisSample[channel]; } else{ // repeat last values from buffer -- GitLab