对过滤器号和索引号结构体定义中同一名称hdr进行重命名hdr_bank和hdr_index
This commit is contained in:
@ -70,7 +70,7 @@ struct rt_can_filter_item
|
||||
rt_uint32_t rtr : 1;
|
||||
rt_uint32_t mode : 1;
|
||||
rt_uint32_t mask;
|
||||
rt_int32_t hdr;
|
||||
rt_int32_t hdr_bank;
|
||||
#ifdef RT_CAN_USING_HDR
|
||||
rt_err_t (*ind)(rt_device_t dev, void *args , rt_int32_t hdr, rt_size_t size);
|
||||
void *args;
|
||||
@ -277,7 +277,7 @@ struct rt_can_msg
|
||||
rt_uint32_t rsv : 1;
|
||||
rt_uint32_t len : 8;
|
||||
rt_uint32_t priv : 8;
|
||||
rt_int32_t hdr : 8;
|
||||
rt_int32_t hdr_index : 8;
|
||||
#ifdef RT_CAN_USING_CANFD
|
||||
rt_uint32_t fd_frame : 1;
|
||||
rt_uint32_t reserved : 7;
|
||||
|
Reference in New Issue
Block a user