Skip to content

Commit 85fc6f4

Browse files
committed
Merge branch 'usb3' of github.com:open-ephys/GUI into usb3
Conflicts: Source/Processors/DataThreads/rhythm-api/rhd2000evalboard.cpp
2 parents 09d9496 + 3ee6454 commit 85fc6f4

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Source/Processors/DataThreads/rhythm-api/rhd2000datablock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ void Rhd2000DataBlock::fillFromUsbBuffer(unsigned char usbBuffer[], int blockInd
189189
ttlOut[t] = convertUsbWord(usbBuffer, index);
190190
index += 2;
191191
}
192-
cout << "Read " << num << " valid samples with " << numDataStreams << " streams. Usb mode status: " << usb3 << endl;
192+
//cout << "Read " << num << " valid samples with " << numDataStreams << " streams. Usb mode status: " << usb3 << endl;
193193
}
194194

195195
// Print the contents of RHD2000 registers from a selected USB data stream (0-7)

Source/Processors/DataThreads/rhythm-api/rhd2000evalboard.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,19 +1424,18 @@ bool Rhd2000EvalBoard::readDataBlock(Rhd2000DataBlock *dataBlock, int nSamples)
14241424

14251425
if (usb3)
14261426
{
1427-
// std::cout << "usb3 read : " << numBytesToRead << " in " << USB3_BLOCK_SIZE << " blocks" << std::endl;
1427+
//std::cout << "usb3 read : " << numBytesToRead << " in " << USB3_BLOCK_SIZE << " blocks" << std::endl;
14281428
res = dev->ReadFromBlockPipeOut(PipeOutData, USB3_BLOCK_SIZE, numBytesToRead, usbBuffer);
14291429
}
14301430
else
14311431
{
1432-
// std::cout << "usb2 read: " << numBytesToRead << std::endl;
1432+
//std::cout << "usb2 read: " << numBytesToRead << std::endl;
14331433
res = dev->ReadFromPipeOut(PipeOutData, numBytesToRead, usbBuffer);
14341434
}
14351435
if (res == ok_Timeout)
14361436
{
14371437
cerr << "CRITICAL: Timeout on pipe read. Check block and buffer sizes." << endl;
14381438
}
1439-
//std::cout << "read result: " << res << std::endl;
14401439
dataBlock->fillFromUsbBuffer(usbBuffer, 0, numDataStreams, nSamples);
14411440

14421441
return true;

0 commit comments

Comments
 (0)