diff --git a/esp-hal/src/dma/mod.rs b/esp-hal/src/dma/mod.rs index ec71952ec85..39ce791d492 100644 --- a/esp-hal/src/dma/mod.rs +++ b/esp-hal/src/dma/mod.rs @@ -546,7 +546,7 @@ where R::set_in_priority(priority); } - fn fill_descriptors( + unsafe fn fill_descriptors( &self, descriptors: &mut [DmaDescriptor], circular: bool,