diff options
| author | Bogdan Petru Chircu Mare <[email protected]> | 2025-12-01 09:08:03 -0800 |
|---|---|---|
| committer | Bogdan Petru Chircu Mare <[email protected]> | 2025-12-01 09:08:03 -0800 |
| commit | 230237b73cbe6f31780ea407ed13bee1adf8eaa2 (patch) | |
| tree | 0f40b5ad7ced34055aabb91446ca759e67041115 /src/dma.rs | |
| parent | 5a6394666e23555e4f329f7b1bd470d0728434a1 (diff) | |
Apply rustfmt formatting fixes
Diffstat (limited to 'src/dma.rs')
| -rw-r--r-- | src/dma.rs | 5 |
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; | |||
| 107 | use core::sync::atomic::{fence, AtomicBool, AtomicUsize, Ordering}; | 107 | use core::sync::atomic::{fence, AtomicBool, AtomicUsize, Ordering}; |
| 108 | use core::task::{Context, Poll}; | 108 | use core::task::{Context, Poll}; |
| 109 | 109 | ||
| 110 | use embassy_hal_internal::PeripheralType; | ||
| 111 | use embassy_sync::waitqueue::AtomicWaker; | ||
| 112 | |||
| 110 | use crate::clocks::Gate; | 113 | use crate::clocks::Gate; |
| 111 | use crate::pac; | 114 | use crate::pac; |
| 112 | use crate::pac::Interrupt; | 115 | use crate::pac::Interrupt; |
| 113 | use crate::peripherals::DMA0; | 116 | use crate::peripherals::DMA0; |
| 114 | use embassy_hal_internal::PeripheralType; | ||
| 115 | use 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. |
| 118 | static DMA_INITIALIZED: AtomicBool = AtomicBool::new(false); | 119 | static DMA_INITIALIZED: AtomicBool = AtomicBool::new(false); |
