mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-13 04:33:18 +08:00
stm32f10x bxcan
bxcan fix align
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user