From 3f7cf135927a8db724284b7bbb697d076941d963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Thu, 14 Nov 2024 08:33:02 +0100 Subject: [PATCH] Fix copy-paste mistake --- esp-hal/src/dma/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/esp-hal/src/dma/mod.rs b/esp-hal/src/dma/mod.rs index 2cda5bebda6..e5bee324491 100644 --- a/esp-hal/src/dma/mod.rs +++ b/esp-hal/src/dma/mod.rs @@ -1692,7 +1692,7 @@ where self.set_interrupt_handler(handler); } ChannelRx { - burst_mode: false, + burst_mode: self.burst_mode, rx_impl: self.rx_impl, _phantom: PhantomData, } @@ -1725,7 +1725,7 @@ where crate::interrupt::disable(Cpu::current(), interrupt); } ChannelRx { - burst_mode: false, + burst_mode: self.burst_mode, rx_impl: self.rx_impl, _phantom: PhantomData, } @@ -1973,7 +1973,7 @@ where self.set_interrupt_handler(handler); } ChannelTx { - burst_mode: false, + burst_mode: self.burst_mode, tx_impl: self.tx_impl, _phantom: PhantomData, } @@ -2006,7 +2006,7 @@ where crate::interrupt::disable(Cpu::current(), interrupt); } ChannelTx { - burst_mode: false, + burst_mode: self.burst_mode, tx_impl: self.tx_impl, _phantom: PhantomData, }