Commit f12ec226 by Daisy Green

nerjack packet size for 12 channel transmission

parent ed5c5692
Showing with 3 additions and 3 deletions
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
#define NERD_HEADER_SIZE 8 #define NERD_HEADER_SIZE 8
#define MAX_SOCKETS 32 #define MAX_SOCKETS 32
int NERDJACK_PACKET_SIZE = 1448; int NERDJACK_PACKET_SIZE = 2168;
int NERDJACK_NUM_SAMPLES = 720; int NERDJACK_NUM_SAMPLES = 1080;
typedef struct __attribute__ ((__packed__)) { typedef struct __attribute__ ((__packed__)) {
unsigned char headerone; unsigned char headerone;
...@@ -37,7 +37,7 @@ typedef struct __attribute__ ((__packed__)) { ...@@ -37,7 +37,7 @@ typedef struct __attribute__ ((__packed__)) {
unsigned short packetNumber; unsigned short packetNumber;
unsigned short adcused; unsigned short adcused;
unsigned short packetsready; unsigned short packetsready;
signed short data[720]; signed short data[1080];
} dataPacket; } dataPacket;
struct discovered_socket { struct discovered_socket {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment