Skip to content

Commit a58a65e

Browse files
committed
修改了格式问题
1 parent 6399216 commit a58a65e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bsp/stm32/libraries/HAL_Drivers/drivers/drv_fdcan.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,8 @@ static int _inline_can_recvmsg(struct rt_can_device *can, void *buf, rt_uint32_t
535535
pmsg->id = pdrv_can->RxHeader.Identifier;
536536

537537
uint32_t actual_dlc = pdrv_can->RxHeader.DataLength;
538-
pmsg->len = dlc_to_length(actual_dlc);
539-
538+
pmsg->len = dlc_to_length(actual_dlc);
539+
540540
pmsg->hdr_index = pdrv_can->RxHeader.FilterIndex;
541541

542542
#ifdef RT_CAN_USING_CANFD

0 commit comments

Comments
 (0)