CAN progress
This commit is contained in:
parent
e1f602b832
commit
bf98a53872
|
@ -91,7 +91,9 @@ private:
|
|||
#ifdef STM32H7XX
|
||||
#define CAN_SID(f) ((f).std.SID)
|
||||
#define CAN_EID(f) ((f).ext.EID)
|
||||
#define CAN_ID(f) ((f).common.XTD ? CAN_EID(f) : CAN_SID(f))
|
||||
#else
|
||||
#define CAN_SID(f) ((f).SID)
|
||||
#define CAN_EID(f) ((f).EID)
|
||||
#define CAN_ID(f) ((f).IDE ? CAN_EID(f) : CAN_SID(f))
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue