# HG changeset patch
# User heinrichsweikamp
# Date 1726662666 -7200
# Node ID 94535e672583928831820efbd092af85c66d8814
# Parent  9e2f9b91e827e870f273f1efe5485315a55a75d2# Parent  1b05a84f6d0fc981d1b2cc2e3315e4e68c18b30c
Zusammenf?hren

diff -r 1b05a84f6d0f -r 94535e672583 Small_CPU/Src/uart.c
--- a/Small_CPU/Src/uart.c	Wed Sep 11 22:32:05 2024 +0200
+++ b/Small_CPU/Src/uart.c	Wed Sep 18 14:31:06 2024 +0200
@@ -130,7 +130,7 @@
 	GPIO_InitStruct.Pin = GPIO_PIN_11 | GPIO_PIN_12;
 	GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
 	GPIO_InitStruct.Pull = GPIO_NOPULL;
-	GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
+	GPIO_InitStruct.Speed = GPIO_SPEED_FAST;
 	GPIO_InitStruct.Alternate = GPIO_AF8_USART6;
 	HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
 
@@ -141,7 +141,7 @@
 	hdma_usart6_rx.Init.Direction = DMA_PERIPH_TO_MEMORY;
 	hdma_usart6_rx.Init.PeriphInc = DMA_PINC_DISABLE;
 	hdma_usart6_rx.Init.MemInc = DMA_MINC_ENABLE;
-	hdma_usart6_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
+	hdma_usart6_rx.Init.PeriphDataAlignment = DMA_MDATAALIGN_BYTE;
 	hdma_usart6_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
 	hdma_usart6_rx.Init.Mode = DMA_NORMAL;
 	hdma_usart6_rx.Init.Priority = DMA_PRIORITY_LOW;
@@ -156,7 +156,7 @@
 	hdma_usart6_tx.Init.Direction = DMA_MEMORY_TO_PERIPH;
 	hdma_usart6_tx.Init.PeriphInc = DMA_PINC_DISABLE;
 	hdma_usart6_tx.Init.MemInc = DMA_MINC_ENABLE;
-	hdma_usart6_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
+	hdma_usart6_tx.Init.PeriphDataAlignment = DMA_MDATAALIGN_BYTE;
 	hdma_usart6_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
 	hdma_usart6_tx.Init.Mode = DMA_NORMAL;
 	hdma_usart6_tx.Init.Priority = DMA_PRIORITY_LOW;