如果开启了RT_CAN_USING_HDR,则提示该驱动不支持硬件过滤器,请取消RT_CAN_USING_HDR。

This commit is contained in:
zhangjun1996 2019-06-17 02:46:36 +08:00
parent 3e7580dc7d
commit 778199f876
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@
#ifdef RT_USING_CAN
#ifdef RT_CAN_USING_HDR
#error "The CAN driver does not support hardware filters, Please disable RT_CAN_USING_HDR"
#endif
#if defined (SOC_SERIES_STM32F1)
static const struct stm_baud_rate_tab can_baud_rate_tab[] =
{