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 c0a503e25..e9b75d863 100644 --- a/embassy-stm32/src/dma/bdma.rs +++ b/embassy-stm32/src/dma/bdma.rs | |||
| @@ -327,6 +327,7 @@ impl<'a, C: Channel> Transfer<'a, C> { | |||
| 327 | 327 | ||
| 328 | pub fn blocking_wait(mut self) { | 328 | pub fn blocking_wait(mut self) { |
| 329 | while self.is_running() {} | 329 | while self.is_running() {} |
| 330 | self.request_stop(); | ||
| 330 | 331 | ||
| 331 | // "Subsequent reads and writes cannot be moved ahead of preceding reads." | 332 | // "Subsequent reads and writes cannot be moved ahead of preceding reads." |
| 332 | fence(Ordering::SeqCst); | 333 | fence(Ordering::SeqCst); |
