Larger message structure for future expansion
parent
b04bb95393
commit
7305f2027e
|
|
@ -107,8 +107,8 @@ typedef struct {
|
||||||
uint8_t header[4];
|
uint8_t header[4];
|
||||||
uint16_t netid;
|
uint16_t netid;
|
||||||
uint8_t type;
|
uint8_t type;
|
||||||
uint8_t reserved[9];
|
uint8_t reserved[17];
|
||||||
} neomessage_t;
|
} neomessage_t; // 64 bytes total
|
||||||
// Any time you add another neomessage_*_t type, make sure to add it to the static_asserts below!
|
// Any time you add another neomessage_*_t type, make sure to add it to the static_asserts below!
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
@ -120,7 +120,7 @@ typedef struct {
|
||||||
uint16_t netid;
|
uint16_t netid;
|
||||||
uint8_t type;
|
uint8_t type;
|
||||||
uint8_t dlcOnWire;
|
uint8_t dlcOnWire;
|
||||||
char reserved[8];
|
char reserved[16];
|
||||||
} neomessage_can_t;
|
} neomessage_can_t;
|
||||||
|
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue