aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-06-19 14:34:16 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-06-19 14:34:16 +0200
commitc3fc56f3b999df1e1145f526959120a916a0f7ff (patch)
treee1946067e9bd2a9ee59208f5a36b4480b8d2f944
parentcc7b71816bb5cf379cff8e46c691cc5965ba3b82 (diff)
downloadglutte-o-matic-c3fc56f3b999df1e1145f526959120a916a0f7ff.tar.gz
glutte-o-matic-c3fc56f3b999df1e1145f526959120a916a0f7ff.tar.bz2
glutte-o-matic-c3fc56f3b999df1e1145f526959120a916a0f7ff.zip
Revert "Switch debug UART to 115200" and set it to 9600 again
This reverts commit 7c7cd71c56808610be6af41dbeb09637026414bb.
-rw-r--r--src/glutt-o-logique/usart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glutt-o-logique/usart.c b/src/glutt-o-logique/usart.c
index 03315b8..806505b 100644
--- a/src/glutt-o-logique/usart.c
+++ b/src/glutt-o-logique/usart.c
@@ -63,7 +63,7 @@ void usart_init() {
// Setup USART2 for 9600,8,N,1
USART_InitTypeDef USART_InitStruct;
- USART_InitStruct.USART_BaudRate = 115200;
+ USART_InitStruct.USART_BaudRate = 9600;
USART_InitStruct.USART_WordLength = USART_WordLength_8b;
USART_InitStruct.USART_StopBits = USART_StopBits_1;
USART_InitStruct.USART_Parity = USART_Parity_No;