Enable the DMAMUX clocks.
This commit is contained in:
parent
a6fe031d34
commit
959aecf6ac
@ -47,5 +47,13 @@ pac::dma_channels! {
|
||||
};
|
||||
}
|
||||
|
||||
use crate::rcc::sealed::RccPeripheral;
|
||||
|
||||
/// safety: must be called only once
|
||||
pub(crate) unsafe fn init() {}
|
||||
pub(crate) unsafe fn init() {
|
||||
pac::peripherals! {
|
||||
(dmamux, $peri:ident) => {
|
||||
crate::peripherals::$peri::enable();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user