lib/stm32: Disable small size single buffer DMA mode.

This commit is contained in:
Kwabena W. Agyeman 2025-08-05 17:43:58 -07:00
parent a11eb9d6a8
commit 94f3c6e4f6

View File

@ -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 */