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