From 7305f2027ef6f1320c33ee0dac20aef39081f57e Mon Sep 17 00:00:00 2001 From: Paul Hollinsky Date: Mon, 19 Nov 2018 12:20:45 -0500 Subject: [PATCH] Larger message structure for future expansion --- include/icsneo/communication/message/neomessage.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/icsneo/communication/message/neomessage.h b/include/icsneo/communication/message/neomessage.h index 53f5798..79f2a28 100644 --- a/include/icsneo/communication/message/neomessage.h +++ b/include/icsneo/communication/message/neomessage.h @@ -107,8 +107,8 @@ typedef struct { uint8_t header[4]; uint16_t netid; uint8_t type; - uint8_t reserved[9]; -} neomessage_t; + uint8_t reserved[17]; +} neomessage_t; // 64 bytes total // Any time you add another neomessage_*_t type, make sure to add it to the static_asserts below! typedef struct { @@ -120,7 +120,7 @@ typedef struct { uint16_t netid; uint8_t type; uint8_t dlcOnWire; - char reserved[8]; + char reserved[16]; } neomessage_can_t; #pragma pack(pop)