From 4ea6662e55f32ff90b564c1c611f5ac4e0d8ab1c Mon Sep 17 00:00:00 2001 From: Rasmus Melchior Jacobsen Date: Thu, 27 Apr 2023 10:43:52 +0200 Subject: [PATCH] Do not disable dma request when idle line is detected --- embassy-stm32/src/usart/mod.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/embassy-stm32/src/usart/mod.rs b/embassy-stm32/src/usart/mod.rs index fea0c5f1..f3dea339 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> { // disable idle line detection w.set_idleie(false); }); - - r.cr3().modify(|w| { - // disable DMA Rx Request - w.set_dmar(false); - }); } wake = true;