ports/stm32: Make dma handle static.

This commit is contained in:
iabdalkader 2025-06-07 16:19:07 +02:00
parent a152b170ea
commit 7be7bb3ded

View File

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