From 6fcbd418e56cc63c169af5bd9f5f5d1d1e734879 Mon Sep 17 00:00:00 2001 From: Yohozzy <30695577+Yohozzy@users.noreply.github.com> Date: Wed, 7 Dec 2022 14:49:44 +0800 Subject: [PATCH] =?UTF-8?q?canfd=E5=B8=A7=E7=BB=93=E6=9E=84=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=20brs=E6=8E=A7=E5=88=B6=E4=BD=8D=20(#6701)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/drivers/include/drivers/can.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/drivers/include/drivers/can.h b/components/drivers/include/drivers/can.h index 4bae9fcb16..0c8bf954bc 100644 --- a/components/drivers/include/drivers/can.h +++ b/components/drivers/include/drivers/can.h @@ -289,8 +289,9 @@ struct rt_can_msg rt_int32_t hdr_index : 8;/*Should be defined as:rx.FilterMatchIndex,which should be changed to rt_int32_t hdr_index : 8*/ #ifdef RT_CAN_USING_CANFD rt_uint32_t fd_frame : 1; + rt_uint32_t brs : 1; rt_uint32_t rxfifo : 2;/*Redefined to return :CAN RX FIFO0/CAN RX FIFO1*/ - rt_uint32_t reserved : 5; + rt_uint32_t reserved : 4; #else rt_uint32_t rxfifo : 2;/*Redefined to return :CAN RX FIFO0/CAN RX FIFO1*/ rt_uint32_t reserved : 6; -- GitLab