Skip to content
Snippets Groups Projects
Commit d8e25e39 authored by Josh Siegle's avatar Josh Siegle
Browse files

Change blockSize to unsigned int

parent 0a3cc4d1
No related branches found
No related tags found
No related merge requests found
...@@ -1471,8 +1471,8 @@ bool RHD2000Thread::updateBuffer() ...@@ -1471,8 +1471,8 @@ bool RHD2000Thread::updateBuffer()
//cout << "Block size: " << blockSize << endl; //cout << "Block size: " << blockSize << endl;
bool return_code; bool return_code;
std::cout << "Current number of words: " << evalBoard->numWordsInFifo() << " for " << blockSize << std::endl; //std::cout << "Current number of words: " << evalBoard->numWordsInFifo() << " for " << blockSize << std::endl;
if (evalBoard->numWordsInFifo() >= blockSize) if (evalBoard->numWordsInFifo() >= 189440)
{ {
return_code = evalBoard->readDataBlock(dataBlock); return_code = evalBoard->readDataBlock(dataBlock);
......
...@@ -149,7 +149,7 @@ private: ...@@ -149,7 +149,7 @@ private:
float thisSample[256]; float thisSample[256];
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 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
int blockSize; unsigned int blockSize;
bool isTransmitting; bool isTransmitting;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment