diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-10-25 12:54:14 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-10-25 12:54:14 -0400 |
| commit | c73bbe16321a5de0649fd9d29b3dd159a25b63db (patch) | |
| tree | 66f8d7898cf00a7fa25b1cc8f60d63d1def1681f /fw/can.h | |
| parent | 866eca8392991c03386dae1f4c0a3821e4fcfbbb (diff) | |
| download | can-gauge-interface-c73bbe16321a5de0649fd9d29b3dd159a25b63db.zip | |
handle ID Control Frames
Diffstat (limited to 'fw/can.h')
| -rw-r--r-- | fw/can.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -39,10 +39,7 @@ typedef enum { // CAN identifier typedef struct { - enum { - CAN_ID_STD, // standard - CAN_ID_EXT, // extended - } type; + bool isExt; // is extended union { U16 sid; // 11-bit standard ID U32 eid; // 29-bit extended ID |