Skip to content
Snippets Groups Projects
Commit f7fab25b authored by jsiegle's avatar jsiegle
Browse files

Re-enable aux inputs

parent 1b6cb247
Branches
Tags
No related merge requests found
...@@ -810,19 +810,19 @@ bool RHD2000Thread::updateBuffer() ...@@ -810,19 +810,19 @@ bool RHD2000Thread::updateBuffer()
if (samp % 4 == 1) { // every 4th sample should have auxiliary input data if (samp % 4 == 1) { // every 4th sample should have auxiliary input data
channel++; channel++;
thisSample[channel] = 0; //0.0374 * thisSample[channel] = 0.0374 *
// float(dataBlock->auxiliaryData[dataStream][1][samp+0]); float(dataBlock->auxiliaryData[dataStream][1][samp+0]);
auxBuffer[channel]=thisSample[channel]; auxBuffer[channel]=thisSample[channel];
channel++; channel++;
thisSample[channel] = 0; //0.0374 * thisSample[channel] = 0.0374 *
//float(dataBlock->auxiliaryData[dataStream][1][samp+1]); float(dataBlock->auxiliaryData[dataStream][1][samp+1]);
auxBuffer[channel]=thisSample[channel]; auxBuffer[channel]=thisSample[channel];
channel++; channel++;
thisSample[channel] = 0; //0.0374 * thisSample[channel] = 0.0374 *
//float(dataBlock->auxiliaryData[dataStream][1][samp+2]); float(dataBlock->auxiliaryData[dataStream][1][samp+2]);
auxBuffer[channel]=thisSample[channel]; auxBuffer[channel]=thisSample[channel];
} else{ // repeat last values from buffer } else{ // repeat last values from buffer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment