mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
lib/stm32: Disable small size single buffer DMA mode.
This commit is contained in:
parent
a11eb9d6a8
commit
94f3c6e4f6
@ -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 */
|
/* Length should be converted to number of bytes */
|
||||||
tmp_length = tmp_length * 4U;
|
tmp_length = tmp_length * 4U;
|
||||||
|
|
||||||
if (tmp_length <= 0xFFFFU)
|
if (tmp_length <= 0)
|
||||||
{
|
{
|
||||||
/* Continuoues Mode */
|
/* Continuoues Mode */
|
||||||
/* Enable the DMA Stream */
|
/* Enable the DMA Stream */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user