未验证 提交 a53e5c73 编写于 作者: A Aubr.Cool 提交者: GitHub

stm32f10x bxcan

bxcan fix align
上级 771d958e
......@@ -527,13 +527,13 @@ static rt_err_t bxcancalcbaseoff(struct stm_bxcan *pbxcan, rt_int32_t hdr,
{
*pbase = 0;
ptr = 0;
hdr -= fifo0start;
hdr -= fifo0start;
}
else if (hdr >= fifo1start && hdr < fifo1end)
{
*pbase = pbxcan->fifo1filteroff;
ptr = 1;
hdr -= fifo1start;
hdr -= fifo1start;
}
else
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册