mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
common/dma_alloc: Fix build.
This commit is contained in:
parent
b08ca7cac7
commit
6c312aceb3
@ -32,6 +32,7 @@
|
|||||||
#include "dma_alloc.h"
|
#include "dma_alloc.h"
|
||||||
#include "omv_boardconfig.h"
|
#include "omv_boardconfig.h"
|
||||||
#include "omv_common.h"
|
#include "omv_common.h"
|
||||||
|
#if OMV_DMA_ALLOC
|
||||||
|
|
||||||
typedef union block block_t;
|
typedef union block block_t;
|
||||||
union block {
|
union block {
|
||||||
@ -220,3 +221,4 @@ void dma_alloc_free(void *ptr) {
|
|||||||
block->periph = NULL;
|
block->periph = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user