mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +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 "omv_boardconfig.h"
|
||||
#include "omv_common.h"
|
||||
#if OMV_DMA_ALLOC
|
||||
|
||||
typedef union block block_t;
|
||||
union block {
|
||||
@ -220,3 +221,4 @@ void dma_alloc_free(void *ptr) {
|
||||
block->periph = NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user