teachop / FlexCAN_Library

Arduino library for CAN on Teensy 3.1
The Unlicense
155 stars 122 forks source link

Enabled RX FIFO, added available() method #1

Closed ghost closed 10 years ago

teachop commented 10 years ago

Thank you. This looks good. I will test today and merge if it goes fine. Question, what is the thought in removing the buffer register zeroing from the begin() routine? Thanks for helping!

ghost commented 10 years ago

It wasn't needed for the FIFO mailboxes. As for the transmit boxes, my thinking was that aside from initially inactivating them, the rest of the contents of the mailbox can be set in the write() method prior to transmission.