aboutsummaryrefslogtreecommitdiffstats
path: root/fw/can.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/can.h')
-rw-r--r--fw/can.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/can.h b/fw/can.h
index 196fb9f..206cb1d 100644
--- a/fw/can.h
+++ b/fw/can.h
@@ -41,8 +41,8 @@ typedef enum {
typedef struct {
bool isExt; // is extended
union {
- U16 sid; // 11-bit standard ID
- U32 eid; // 29-bit extended ID
+ U16 sid; // 11-bit standard ID -- ID[28:18]
+ U32 eid; // 29-bit extended ID -- ID[28:0]
};
} CanId;