From 94f3c6e4f6cb2601af0827092d8eadd38fda0840 Mon Sep 17 00:00:00 2001 From: "Kwabena W. Agyeman" Date: Tue, 5 Aug 2025 17:43:58 -0700 Subject: [PATCH] lib/stm32: Disable small size single buffer DMA mode. --- lib/stm32/n6/src/stm32n6xx_hal_dcmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stm32/n6/src/stm32n6xx_hal_dcmi.c b/lib/stm32/n6/src/stm32n6xx_hal_dcmi.c index 2b35444c1..0c8e415b4 100644 --- a/lib/stm32/n6/src/stm32n6xx_hal_dcmi.c +++ b/lib/stm32/n6/src/stm32n6xx_hal_dcmi.c @@ -418,7 +418,7 @@ HAL_StatusTypeDef HAL_DCMI_Start_DMA(DCMI_HandleTypeDef *hdcmi, uint32_t DCMI_Mo /* Length should be converted to number of bytes */ tmp_length = tmp_length * 4U; - if (tmp_length <= 0xFFFFU) + if (tmp_length <= 0) { /* Continuoues Mode */ /* Enable the DMA Stream */