Skip to content
Snippets Groups Projects
Commit e10e5923 authored by Josh Siegle's avatar Josh Siegle
Browse files

Change "index" to "chanIndex"

parent 5e6dbf76
Branches
Tags
No related merge requests found
......@@ -1531,7 +1531,7 @@ bool RHD2000Thread::updateBuffer()
for (int chan = 0; chan < nChans; chan++)
{
channel++;
thisSample[channel] = float(Rhd2000DataBlock::convertUsbWord(bufferPtr, index) - 32768)*0.195f;
thisSample[channel] = float(Rhd2000DataBlock::convertUsbWord(bufferPtr, chanIndex) - 32768)*0.195f;
chanIndex += 2*numStreams;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment