mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-02-25 13:45:29 -07:00
stm32: Support passing through RTR and EFF canbus frames
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
913c6a913d
commit
3f7d05dd18
3 changed files with 39 additions and 28 deletions
|
|
@ -16,6 +16,9 @@ struct canbus_msg {
|
|||
};
|
||||
};
|
||||
|
||||
#define CANMSG_ID_RTR (1<<30)
|
||||
#define CANMSG_ID_EFF (1<<31)
|
||||
|
||||
#define CANMSG_DATA_LEN(msg) ((msg)->dlc > 8 ? 8 : (msg)->dlc)
|
||||
|
||||
// callbacks provided by board specific code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue