Skip to content

Commit fafa8b2

Browse files
committed
mend
1 parent 519407e commit fafa8b2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,17 +1413,19 @@ bool Rhd2000EvalBoard::readDataBlock(Rhd2000DataBlock *dataBlock, int nSamples)
14131413

14141414
if (usb3)
14151415
{
1416+
std::cout << "usb3 read : " << numBytesToRead << " in " << USB3_BLOCK_SIZE << " blocks" << std::endl;
14161417
res = dev->ReadFromBlockPipeOut(PipeOutData, USB3_BLOCK_SIZE, numBytesToRead, usbBuffer);
14171418
}
14181419
else
14191420
{
1421+
std::cout << "usb2 read: " << numBytesToRead << std::endl;
14201422
res = dev->ReadFromPipeOut(PipeOutData, numBytesToRead, usbBuffer);
14211423
}
14221424
if (res == ok_Timeout)
14231425
{
14241426
cerr << "CRITICAL: Timeout on pipe read. Check block and buffer sizes." << endl;
14251427
}
1426-
1428+
std::cout << "read result: " << res << std::endl;
14271429
dataBlock->fillFromUsbBuffer(usbBuffer, 0, numDataStreams, nSamples);
14281430

14291431
return true;

0 commit comments

Comments
 (0)