mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +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
@@ -56,11 +56,15 @@ typedef struct {
|
||||
uint32_t enablePcEthernetComm : 1;
|
||||
uint32_t reserved : 29;
|
||||
} flags;//4
|
||||
|
||||
ETHERNET_SETTINGS2 ethernet2; //16
|
||||
} etherbadge_settings_t;
|
||||
#pragma pack(pop)
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
static_assert(sizeof(etherbadge_settings_t) == 316, "EtherBadge settings size mismatch");
|
||||
|
||||
#include <iostream>
|
||||
|
||||
class EtherBADGESettings : public IDeviceSettings {
|
||||
|
||||
Reference in New Issue
Block a user