aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm32f091/setup.c')
-rw-r--r--stm32f091/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm32f091/setup.c b/stm32f091/setup.c
index 1971809..3bf331f 100644
--- a/stm32f091/setup.c
+++ b/stm32f091/setup.c
@@ -53,7 +53,7 @@ DMA_HandleTypeDef hdma_usart1_rx = {
.Init.MemInc = DMA_MINC_ENABLE,
.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE,
.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE,
- .Init.Mode = DMA_NORMAL,
+ .Init.Mode = DMA_CIRCULAR,
.Init.Priority = DMA_PRIORITY_LOW,
};