Skip to content
Snippets Groups Projects
Commit 785d56c0 authored by Jakob Voigts's avatar Jakob Voigts
Browse files

Solved accumulating delay issue

just changed SAMPLES_PER_DATA_BLOCK back to 300, this probably requires
a real bug fix somewhere else, not sure why this is an issue.
parent 45842b60
No related branches found
No related tags found
No related merge requests found
...@@ -817,8 +817,6 @@ bool RHD2000Thread::updateBuffer() ...@@ -817,8 +817,6 @@ bool RHD2000Thread::updateBuffer()
bool return_code; bool return_code;
for (int n = 0; n < 10; n++)
{
if (evalBoard->numWordsInFifo() >= blockSize) if (evalBoard->numWordsInFifo() >= blockSize)
{ {
return_code = evalBoard->readDataBlock(dataBlock); return_code = evalBoard->readDataBlock(dataBlock);
...@@ -897,7 +895,7 @@ bool RHD2000Thread::updateBuffer() ...@@ -897,7 +895,7 @@ bool RHD2000Thread::updateBuffer()
} }
} }
}
if (dacOutputShouldChange) if (dacOutputShouldChange)
{ {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef RHD2000DATABLOCK_H #ifndef RHD2000DATABLOCK_H
#define RHD2000DATABLOCK_H #define RHD2000DATABLOCK_H
#define SAMPLES_PER_DATA_BLOCK 60 #define SAMPLES_PER_DATA_BLOCK 300
#define RHD2000_HEADER_MAGIC_NUMBER 0xc691199927021942 #define RHD2000_HEADER_MAGIC_NUMBER 0xc691199927021942
using namespace std; using namespace std;
......
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