Skip to content

Commit ab8fe09

Browse files
Update bsp/stm32/libraries/HAL_Drivers/drivers/drv_fdcan.c
Co-authored-by: Copilot <[email protected]>
1 parent 006f112 commit ab8fe09

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,6 @@ static int _inline_can_recvmsg(struct rt_can_device *can, void *buf, rt_uint32_t
495495
}
496496
pmsg->id = pdrv_can->RxHeader.Identifier;
497497

498-
// pmsg->len = (pdrv_can->RxHeader.DataLength >> 16) & 0x0f;
499498
pmsg->len = pdrv_can->RxHeader.DataLength;
500499
pmsg->hdr_index = pdrv_can->RxHeader.FilterIndex;
501500

0 commit comments

Comments
 (0)