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
@@ -105,6 +105,7 @@ typedef struct {
|
||||
uint16_t digitalIoThresholdEnable;
|
||||
TIMESYNC_ICSHARDWARE_SETTINGS timeSync;
|
||||
DISK_SETTINGS disk;
|
||||
ETHERNET_SETTINGS2 ethernet2; // supercedes ethernet settings
|
||||
} neovifire2_settings_t;
|
||||
|
||||
typedef struct {
|
||||
@@ -118,6 +119,8 @@ typedef struct {
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
static_assert(sizeof(neovifire2_settings_t) == 936, "NeoVIFire2 settings size mismatch");
|
||||
|
||||
#include <iostream>
|
||||
|
||||
class NeoVIFIRE2Settings : public IDeviceSettings {
|
||||
|
||||
Reference in New Issue
Block a user