Skip to content

Commit e10e592

Browse files
committed
Change "index" to "chanIndex"
1 parent 5e6dbf7 commit e10e592

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Processors/DataThreads/RHD2000Thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@ bool RHD2000Thread::updateBuffer()
15311531
for (int chan = 0; chan < nChans; chan++)
15321532
{
15331533
channel++;
1534-
thisSample[channel] = float(Rhd2000DataBlock::convertUsbWord(bufferPtr, index) - 32768)*0.195f;
1534+
thisSample[channel] = float(Rhd2000DataBlock::convertUsbWord(bufferPtr, chanIndex) - 32768)*0.195f;
15351535
chanIndex += 2*numStreams;
15361536
}
15371537
}

0 commit comments

Comments
 (0)