can驱动优化,支持发送失败后取消发送

This commit is contained in:
2024-07-24 15:10:31 +08:00
parent 780291d5b0
commit 1173711d0c
2 changed files with 4 additions and 0 deletions

View File

@ -182,6 +182,7 @@ struct rt_can_ops;
#define RT_CAN_CMD_SET_CANFD 0x1A
#define RT_CAN_CMD_SET_BAUD_FD 0x1B
#define RT_CAN_CMD_SET_BITTIMING 0x1C
#define RT_CAN_CMD_CANCEL 0x1D
#define RT_DEVICE_CAN_INT_ERR 0x1000