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
@@ -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 {