Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
ethstream
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f12ec226
authored
Nov 15, 2019
by
Daisy Green
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
nerjack packet size for 12 channel transmission
parent
ed5c5692
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
nerdjack.c
nerdjack.c
View file @
f12ec226
...
@@ -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
=
144
8
;
int
NERDJACK_PACKET_SIZE
=
216
8
;
int
NERDJACK_NUM_SAMPLES
=
72
0
;
int
NERDJACK_NUM_SAMPLES
=
108
0
;
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
[
72
0
];
signed
short
data
[
108
0
];
}
dataPacket
;
}
dataPacket
;
struct
discovered_socket
{
struct
discovered_socket
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment