Device: Update tree structs and add size checks to non-deprecated devices

This commit is contained in:
Max Brombach
2025-11-04 14:29:37 -05:00
committed by Kyle Schwarz
parent 39b54d8c4e
commit 51e4fdc6d9
22 changed files with 88 additions and 5 deletions
@@ -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 {