Skip to content

Commit 8a8184b

Browse files
glowtapemlyle
authored andcommitted
pios_dmashot: If we do 16-byte align shenanigans, ought to also do DMA burst. (#1743)
1 parent c2a0720 commit 8a8184b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flight/PiOS/STM32F4xx/pios_dmashot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ static void PIOS_DMAShot_DMASetup(struct servo_timer *s_timer)
421421
dma.DMA_BufferSize = PIOS_DMAShot_GetNumChannels(s_timer) * DMASHOT_STM32_BUFFER;
422422

423423
dma.DMA_Priority = DMA_Priority_VeryHigh;
424-
dma.DMA_MemoryBurst = DMA_MemoryBurst_Single;
424+
dma.DMA_MemoryBurst = DMA_MemoryBurst_INC4;
425425
dma.DMA_PeripheralBurst = DMA_PeripheralBurst_Single;
426426

427427
dma.DMA_FIFOMode = DMA_FIFOMode_Enable;

0 commit comments

Comments
 (0)