aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias <[email protected]>2022-08-23 13:28:14 +0200
committerMathias <[email protected]>2022-08-23 13:28:14 +0200
commit594a64b3bfd5757f98ea4118fcaf62f59fc2157b (patch)
tree933956ee25223c6c47f09a678b87f789f623acd1
parent36cf719a1899202caeae39a8a6d5443a4acbdcfe (diff)
Change to using embassy-sync
-rw-r--r--embassy-rp/src/dma.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-rp/src/dma.rs b/embassy-rp/src/dma.rs
index 6423d1938..137e9a0c3 100644
--- a/embassy-rp/src/dma.rs
+++ b/embassy-rp/src/dma.rs
@@ -4,7 +4,7 @@ use core::task::{Context, Poll};
4 4
5use embassy_cortex_m::interrupt::{Interrupt, InterruptExt}; 5use embassy_cortex_m::interrupt::{Interrupt, InterruptExt};
6use embassy_hal_common::{impl_peripheral, into_ref, Peripheral, PeripheralRef}; 6use embassy_hal_common::{impl_peripheral, into_ref, Peripheral, PeripheralRef};
7use embassy_util::waitqueue::AtomicWaker; 7use embassy_sync::waitqueue::AtomicWaker;
8use futures::Future; 8use futures::Future;
9use pac::dma::vals::DataSize; 9use pac::dma::vals::DataSize;
10 10
@@ -36,7 +36,7 @@ unsafe fn DMA_IRQ_0() {
36pub(crate) unsafe fn init() { 36pub(crate) unsafe fn init() {
37 let irq = interrupt::DMA_IRQ_0::steal(); 37 let irq = interrupt::DMA_IRQ_0::steal();
38 irq.disable(); 38 irq.disable();
39 irq.set_priority(interrupt::Priority::P6); 39 irq.set_priority(interrupt::Priority::P3);
40 40
41 pac::DMA.inte0().write(|w| w.set_inte0(0xFFFF)); 41 pac::DMA.inte0().write(|w| w.set_inte0(0xFFFF));
42 42