proman21 / samd-dma

DMA wrapper library for SAM micro-controllers
https://proman21.github.io/samd-dma
MIT License
1 stars 3 forks source link

Various bug fixes. #2

Closed lopsided98 closed 3 years ago

lopsided98 commented 4 years ago

This PR contains fixes for various bugs I ran into while using this crate, separated into different commits. Here is a summary:

proman21 commented 3 years ago

Thanks for submitting this PR! I've already made some of the changes you have in my local copy, but I never pushed them until now. Specifically, commits bd4d9a3 and c02e592, which add the (get|set)_beat_size methods and fix the Default recursion problem. I'd recommend you cherry-pick the other commits into a new branch, and submit another PR with that branch. I'm happy with the rest of the changes, so once you do that I'll approve it ASAP.