stm32-rs / bxcan

bxCAN peripheral driver for STM32 chips
Apache License 2.0
32 stars 22 forks source link

Remove `transmit_and_get_mailbox` in favor of an improved `transmit` function #40

Closed jonas-schievink closed 3 years ago

jonas-schievink commented 3 years ago

Closes https://github.com/stm32-rs/bxcan/issues/39

Makes transmit return a TransmitStatus on success, containing the dequeued frame and the mailbox that was used.

jonas-schievink commented 3 years ago

bors r+

bors[bot] commented 3 years ago

Build succeeded: