diff options
| -rw-r--r-- | embassy-stm32/src/dma/bdma.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/src/dma/bdma.rs b/embassy-stm32/src/dma/bdma.rs index 5fcb30f65..a307c803c 100644 --- a/embassy-stm32/src/dma/bdma.rs +++ b/embassy-stm32/src/dma/bdma.rs | |||
| @@ -323,6 +323,7 @@ impl<'a, C: Channel> Transfer<'a, C> { | |||
| 323 | 323 | ||
| 324 | pub fn blocking_wait(mut self) { | 324 | pub fn blocking_wait(mut self) { |
| 325 | while self.is_running() {} | 325 | while self.is_running() {} |
| 326 | self.request_stop(); | ||
| 326 | 327 | ||
| 327 | // "Subsequent reads and writes cannot be moved ahead of preceding reads." | 328 | // "Subsequent reads and writes cannot be moved ahead of preceding reads." |
| 328 | fence(Ordering::SeqCst); | 329 | fence(Ordering::SeqCst); |
