Skip to content
Snippets Groups Projects
Commit 5c46b6cd authored by jsiegle's avatar jsiegle
Browse files

Change datablock size to 300 and ignore incorrect header warning

parent 2a74a595
Branches
Tags
No related merge requests found
......@@ -148,7 +148,7 @@ void Rhd2000DataBlock::fillFromUsbBuffer(unsigned char usbBuffer[], int blockInd
{
if (!checkUsbHeader(usbBuffer, index))
{
cerr << "Error in Rhd2000EvalBoard::readDataBlock: Incorrect header." << endl;
//cerr << "Error in Rhd2000EvalBoard::readDataBlock: Incorrect header." << endl;
}
index += 8;
timeStamp[t] = convertUsbTimeStamp(usbBuffer, index);
......
......@@ -20,7 +20,7 @@
#ifndef RHD2000DATABLOCK_H
#define RHD2000DATABLOCK_H
#define SAMPLES_PER_DATA_BLOCK 60
#define SAMPLES_PER_DATA_BLOCK 300
#define RHD2000_HEADER_MAGIC_NUMBER 0xc691199927021942
using namespace std;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment