diff options
| author | Rasmus Melchior Jacobsen <[email protected]> | 2023-04-27 10:43:52 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-05-01 22:42:36 +0200 |
| commit | 4ea6662e55f32ff90b564c1c611f5ac4e0d8ab1c (patch) | |
| tree | 6ed17b9a051507eb021e583307ffae69ccc9b07d | |
| parent | 49455792cb5406f3e2df0f3850c0d650965e6b2b (diff) | |
Do not disable dma request when idle line is detected
| -rw-r--r-- | embassy-stm32/src/usart/mod.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/embassy-stm32/src/usart/mod.rs b/embassy-stm32/src/usart/mod.rs index fea0c5f11..f3dea3391 100644 --- a/embassy-stm32/src/usart/mod.rs +++ b/embassy-stm32/src/usart/mod.rs | |||
| @@ -313,11 +313,6 @@ impl<'d, T: BasicInstance, RxDma> UartRx<'d, T, RxDma> { | |||
| 313 | // disable idle line detection | 313 | // disable idle line detection |
| 314 | w.set_idleie(false); | 314 | w.set_idleie(false); |
| 315 | }); | 315 | }); |
| 316 | |||
| 317 | r.cr3().modify(|w| { | ||
| 318 | // disable DMA Rx Request | ||
| 319 | w.set_dmar(false); | ||
| 320 | }); | ||
| 321 | } | 316 | } |
| 322 | 317 | ||
| 323 | wake = true; | 318 | wake = true; |
