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

Add constant offset to accelerometer channels

parent 89e5946c
Branches
Tags
No related merge requests found
......@@ -926,20 +926,20 @@ bool RHD2000Thread::updateBuffer()
channel++;
thisSample[channel] = 0.0374 *
float(dataBlock->auxiliaryData[streamNumber][1][samp+0]);
float(dataBlock->auxiliaryData[streamNumber][1][samp+0]) - 10000.0f;
auxBuffer[channel] = thisSample[channel];
channel++;
thisSample[channel] = 0.0374 *
float(dataBlock->auxiliaryData[streamNumber][1][samp+1]);
float(dataBlock->auxiliaryData[streamNumber][1][samp+1]) - 10000.0f;
auxBuffer[channel] = thisSample[channel];
channel++;
thisSample[channel] = 0.0374 *
float(dataBlock->auxiliaryData[streamNumber][1][samp+2]);
float(dataBlock->auxiliaryData[streamNumber][1][samp+2]) - 10000.0f;
auxBuffer[channel] = thisSample[channel];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment