mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-24 11:43:09 +00:00
15 lines
381 B
C
15 lines
381 B
C
|
#include <furi_hal_dma.h>
|
||
|
#include <furi_hal_bus.h>
|
||
|
|
||
|
void furi_hal_dma_init_early() {
|
||
|
furi_hal_bus_enable(FuriHalBusDMA1);
|
||
|
furi_hal_bus_enable(FuriHalBusDMA2);
|
||
|
furi_hal_bus_enable(FuriHalBusDMAMUX1);
|
||
|
}
|
||
|
|
||
|
void furi_hal_dma_deinit_early() {
|
||
|
furi_hal_bus_disable(FuriHalBusDMA1);
|
||
|
furi_hal_bus_disable(FuriHalBusDMA2);
|
||
|
furi_hal_bus_disable(FuriHalBusDMAMUX1);
|
||
|
}
|