mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 22:50:23 +08:00
Update drv_can.c
删除多余注释,另外确定了对于其他型号单片机的适应性
This commit is contained in:
parent
ff36a39d32
commit
ecb69f56ac
@ -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)
|
if (filter_cfg->items[i].hdr == -1)
|
||||||
{
|
{
|
||||||
/* use default filter bank settings */
|
/* 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")
|
if (drv_can->name == "can1")
|
||||||
{
|
{
|
||||||
/* can1 banks 0~13 */
|
/* can1 banks 0~13 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user