mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-30 00:32:06 +03: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);
|
||
|
}
|