mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-02 12:13:16 +03:00
585b7f963d
merge ofw commit
15 lines
389 B
C
15 lines
389 B
C
#include <furi_hal_dma.h>
|
|
#include <furi_hal_bus.h>
|
|
|
|
void furi_hal_dma_init_early(void) {
|
|
furi_hal_bus_enable(FuriHalBusDMA1);
|
|
furi_hal_bus_enable(FuriHalBusDMA2);
|
|
furi_hal_bus_enable(FuriHalBusDMAMUX1);
|
|
}
|
|
|
|
void furi_hal_dma_deinit_early(void) {
|
|
furi_hal_bus_disable(FuriHalBusDMA1);
|
|
furi_hal_bus_disable(FuriHalBusDMA2);
|
|
furi_hal_bus_disable(FuriHalBusDMAMUX1);
|
|
}
|