aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBogdan Petru Chircu Mare <[email protected]>2025-12-01 09:08:03 -0800
committerBogdan Petru Chircu Mare <[email protected]>2025-12-01 09:08:03 -0800
commit230237b73cbe6f31780ea407ed13bee1adf8eaa2 (patch)
tree0f40b5ad7ced34055aabb91446ca759e67041115 /src
parent5a6394666e23555e4f329f7b1bd470d0728434a1 (diff)
Apply rustfmt formatting fixes
Diffstat (limited to 'src')
-rw-r--r--src/dma.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dma.rs b/src/dma.rs
index 66b610d93..7bfc95752 100644
--- a/src/dma.rs
+++ b/src/dma.rs
@@ -107,12 +107,13 @@ use core::ptr::NonNull;
107use core::sync::atomic::{fence, AtomicBool, AtomicUsize, Ordering}; 107use core::sync::atomic::{fence, AtomicBool, AtomicUsize, Ordering};
108use core::task::{Context, Poll}; 108use core::task::{Context, Poll};
109 109
110use embassy_hal_internal::PeripheralType;
111use embassy_sync::waitqueue::AtomicWaker;
112
110use crate::clocks::Gate; 113use crate::clocks::Gate;
111use crate::pac; 114use crate::pac;
112use crate::pac::Interrupt; 115use crate::pac::Interrupt;
113use crate::peripherals::DMA0; 116use crate::peripherals::DMA0;
114use embassy_hal_internal::PeripheralType;
115use embassy_sync::waitqueue::AtomicWaker;
116 117
117/// Static flag to track whether DMA has been initialized. 118/// Static flag to track whether DMA has been initialized.
118static DMA_INITIALIZED: AtomicBool = AtomicBool::new(false); 119static DMA_INITIALIZED: AtomicBool = AtomicBool::new(false);