We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e6dbf7 commit e10e592Copy full SHA for e10e592
1 file changed
Source/Processors/DataThreads/RHD2000Thread.cpp
@@ -1531,7 +1531,7 @@ bool RHD2000Thread::updateBuffer()
1531
for (int chan = 0; chan < nChans; chan++)
1532
{
1533
channel++;
1534
- thisSample[channel] = float(Rhd2000DataBlock::convertUsbWord(bufferPtr, index) - 32768)*0.195f;
+ thisSample[channel] = float(Rhd2000DataBlock::convertUsbWord(bufferPtr, chanIndex) - 32768)*0.195f;
1535
chanIndex += 2*numStreams;
1536
}
1537
0 commit comments