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
@@ -60,11 +60,17 @@ typedef struct {
|
||||
TIMESYNC_ICSHARDWARE_SETTINGS timeSyncSettings;
|
||||
uint16_t hwComLatencyTestEn;
|
||||
RAD_REPORTING_SETTINGS reporting;
|
||||
ETHERNET_SETTINGS2 ethernet;
|
||||
|
||||
RAD_GPTP_SETTINGS gPTP;
|
||||
uint64_t network_enables_5;
|
||||
} radstar2_settings_t;
|
||||
#pragma pack(pop)
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
static_assert(sizeof(radstar2_settings_t) == 422, "RADStar2 settings size mismatch");
|
||||
|
||||
#include <iostream>
|
||||
|
||||
class RADStar2Settings : public IDeviceSettings {
|
||||
|
||||
Reference in New Issue
Block a user