From ecb69f56ac0f070d3dda728bd662f6f63b674c6e Mon Sep 17 00:00:00 2001 From: zuozuojia <58627328+zuozuojia@users.noreply.github.com> Date: Sun, 3 Apr 2022 16:53:14 +0800 Subject: [PATCH] Update drv_can.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除多余注释,另外确定了对于其他型号单片机的适应性 --- bsp/stm32/libraries/HAL_Drivers/drv_can.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_can.c b/bsp/stm32/libraries/HAL_Drivers/drv_can.c index b59f33348f..a3959a2083 100644 --- a/bsp/stm32/libraries/HAL_Drivers/drv_can.c +++ b/bsp/stm32/libraries/HAL_Drivers/drv_can.c @@ -336,10 +336,6 @@ static rt_err_t _can_control(struct rt_can_device *can, int cmd, void *arg) if (filter_cfg->items[i].hdr == -1) { /* use default filter bank settings */ - /** - * because can1 and can2 use the same filter groups, - * separate the groups of can1 and can2, to prevent being covered. - */ if (drv_can->name == "can1") { /* can1 banks 0~13 */