Skip to content

Commit d21f4bd

Browse files
committed
Merge branch 'usb3' of github.com:open-ephys/GUI into usb3
2 parents ffc65fb + d8e25e3 commit d21f4bd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Source/Processors/DataThreads/RHD2000Thread.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,8 +1471,8 @@ bool RHD2000Thread::updateBuffer()
14711471
//cout << "Block size: " << blockSize << endl;
14721472

14731473
bool return_code;
1474-
std::cout << "Current number of words: " << evalBoard->numWordsInFifo() << " for " << blockSize << std::endl;
1475-
if (evalBoard->numWordsInFifo() >= blockSize)
1474+
//std::cout << "Current number of words: " << evalBoard->numWordsInFifo() << " for " << blockSize << std::endl;
1475+
if (evalBoard->numWordsInFifo() >= 189440)
14761476
{
14771477
return_code = evalBoard->readDataBlock(dataBlock);
14781478

Source/Processors/DataThreads/RHD2000Thread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class RHD2000Thread : public DataThread, public Timer
149149
float thisSample[256];
150150
float auxBuffer[256]; // aux inputs are only sampled every 4th sample, so use this to buffer the samples so they can be handles just like the regular neural channels later
151151

152-
int blockSize;
152+
unsigned int blockSize;
153153

154154
bool isTransmitting;
155155

0 commit comments

Comments
 (0)