diff --git a/esp-hal-common/src/dma/gdma.rs b/esp-hal-common/src/dma/gdma.rs index 8b05353e9f8..43d20dcf81c 100644 --- a/esp-hal-common/src/dma/gdma.rs +++ b/esp-hal-common/src/dma/gdma.rs @@ -366,6 +366,10 @@ pub(crate) mod private { impl_channel!(1); #[cfg(not(esp32c2))] impl_channel!(2); + #[cfg(esp32s3)] + impl_channel!(3); + #[cfg(esp32s3)] + impl_channel!(4); } /// GDMA Peripheral diff --git a/esp-hal-common/src/dma/mod.rs b/esp-hal-common/src/dma/mod.rs index 23f793e1c0a..a08267798be 100644 --- a/esp-hal-common/src/dma/mod.rs +++ b/esp-hal-common/src/dma/mod.rs @@ -23,22 +23,16 @@ pub enum DmaError { #[cfg(any(esp32c2, esp32c3, esp32s3))] #[derive(Clone, Copy)] pub enum DmaPriority { - Priority0 = 0, - Priority1 = 1, - Priority2 = 2, - Priority3 = 3, - Priority4 = 4, - Priority5 = 5, - Priority6 = 6, - Priority7 = 7, - Priority8 = 8, - Priority9 = 9, - Priority10 = 10, - Priority11 = 11, - Priority12 = 12, - Priority13 = 13, - Priority14 = 14, - Priority15 = 15, + Priority0 = 0, + Priority1 = 1, + Priority2 = 2, + Priority3 = 3, + Priority4 = 4, + Priority5 = 5, + Priority6 = 6, + Priority7 = 7, + Priority8 = 8, + Priority9 = 9, } /// DMA Priorities