Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid moving inside
SpiDmaBus
, abort dropped transfers (#2216)
* Drop State from DMA * Simplify Error paths * Cancel dropped transfers, fix and test * Fix C6 * Avoid cancelling a completed transaction * Do not implement DmaTxRxBuf for references * Remove unnecessary import * Merge BufferRef structs * Move wait impl to the peripheral * Allow the current byte to complete * Restore SpiDmaTransfer::is_done * Explain cancel code * Fix test formatting * Changelog * Simplify implementation * Make sure everything gets dropped * Remove unnecessary PhantomData * Remove OptionalFuture * Adjust test to a more realistic clock frequency
- Loading branch information