Mercurial > public > ostc4
diff Small_CPU/Src/dma.c @ 662:1b995079c045 Betatest
PSCR Mode
author | heinrichs weikamp |
---|---|
date | Tue, 14 Dec 2021 15:36:10 +0100 |
parents | 5f11787b4f42 |
children |
line wrap: on
line diff
--- a/Small_CPU/Src/dma.c Mon Nov 01 12:39:34 2021 +0100 +++ b/Small_CPU/Src/dma.c Tue Dec 14 15:36:10 2021 +0100 @@ -34,6 +34,7 @@ */ /* Includes ------------------------------------------------------------------*/ #include "dma.h" +#include "uart.h" /* USER CODE BEGIN 0 */ @@ -55,6 +56,7 @@ /* DMA controller clock enable */ __DMA2_CLK_ENABLE(); + MX_USART1_DMA_Init(); /* DMA interrupt init */ }