mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
ports/stm32: Make dma handle static.
This commit is contained in:
parent
a152b170ea
commit
7be7bb3ded
@ -32,7 +32,7 @@
|
|||||||
#include "dma_utils.h"
|
#include "dma_utils.h"
|
||||||
|
|
||||||
#if defined(GPDMA1)
|
#if defined(GPDMA1)
|
||||||
DMA_HandleTypeDef *dma_handle[32];
|
static DMA_HandleTypeDef *dma_handle[32];
|
||||||
#else
|
#else
|
||||||
// Defined in micropython/ports/stm32/dma.c or in uvc/src/main.c
|
// Defined in micropython/ports/stm32/dma.c or in uvc/src/main.c
|
||||||
extern DMA_HandleTypeDef *dma_handle[16];
|
extern DMA_HandleTypeDef *dma_handle[16];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user