mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Device: Update tree structs and add size checks to non-deprecated devices
This commit is contained in:
committed by
Kyle Schwarz
parent
39b54d8c4e
commit
51e4fdc6d9
@@ -59,12 +59,14 @@ typedef struct {
|
||||
ETHERNET_SETTINGS2 ethernet;
|
||||
RAD_GPTP_SETTINGS gPTP;
|
||||
uint64_t network_enables_5;
|
||||
CMP_GLOBAL_DATA cmp_global_data;
|
||||
CMP_NETWORK_DATA cmp_stream_data[CMP_STREAMS_A2B];
|
||||
} rada2b_settings_t;
|
||||
#pragma pack(pop)
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
static_assert(sizeof(rada2b_settings_t) == 340, "RAD-A2B settings size mismatch");
|
||||
static_assert(sizeof(rada2b_settings_t) == 416, "RAD-A2B settings size mismatch");
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user