aboutsummaryrefslogtreecommitdiffstats
path: root/fw/can.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/can.h')
-rw-r--r--fw/can.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/fw/can.h b/fw/can.h
index 9ac1cfe..196fb9f 100644
--- a/fw/can.h
+++ b/fw/can.h
@@ -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