Release the correct fifo in can_receive()
This commit is contained in:
parent
1bb0e9b970
commit
f385341495
@ -308,5 +308,5 @@ void can_receive(u32 canport, u8 fifo, bool release, u32 *id, bool *ext,
|
|||||||
|
|
||||||
/* Release the FIFO. */
|
/* Release the FIFO. */
|
||||||
if (release)
|
if (release)
|
||||||
can_fifo_release(CAN1, 0);
|
can_fifo_release(canport, fifo);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user