Merge pull request #2702 from openmv/fix_stm32_dmautils

ports/stm32: Make dma handle static.
This commit is contained in:
Ibrahim Abdelkader 2025-06-07 17:42:06 +03:00 committed by GitHub
commit 9638a50906
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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];