arduino-mcp2515
arduino-mcp2515 copied to clipboard
Fix messages are not read in correct order
Since two rx are enabled by rollover, currently the readed messages won't be in the correct order if received messages are very fast. This is because rx0 is always the first buffer to read. Refer https://www.microchip.com/forums/tm.aspx?m=620741.
This PR fixes this issue.