stm32-rs / stm32l4xx-hal

A Hardware abstraction layer for the stm32l432xx series chips written in rust.
156 stars 103 forks source link

Keep peripheral enabled when converting from `SpiRxTxDma` back to `Spi`. #317

Closed reitermarkus closed 2 years ago

reitermarkus commented 2 years ago

There is no way to re-enable the Spi peripheral after getting it through SpiRxTxDma::split, so it should remain enabled.

korken89 commented 2 years ago

Hi, thanks for the PR. Could you have a look at the failing tests and the clippy warnings?

reitermarkus commented 2 years ago

@korken89, tests are passing now.