Added DMA transaction size

Develop
Sven Steudte 2017-08-22 05:26:04 +02:00
rodzic 9eaaf814eb
commit e114808cb3
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -1088,6 +1088,7 @@ bool OV5640_Capture(void)
*/
dmaStreamSetMemory0(dmastp, &ov5640_conf->ram_buffer[0]);
dmaStreamSetMemory1(dmastp, &ov5640_conf->ram_buffer[DMA_SEGMENT_SIZE]);
dmaStreamSetTransactionSize(dmastp, DMA_SEGMENT_SIZE);
/*
* Calculate the number of whole buffers.