From 4dfab06a5012f648840a25fd4d9f5a1d02678c4f Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 24 May 2020 08:11:32 +0200 Subject: [PATCH] Revert to GPIO_Fast_Speed --- SerialSTM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SerialSTM.cpp b/SerialSTM.cpp index 14e1b07..d4c4766 100644 --- a/SerialSTM.cpp +++ b/SerialSTM.cpp @@ -83,7 +83,7 @@ void InitUSART1(int speed) GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9 | GPIO_Pin_10; // Tx | Rx - GPIO_InitStructure.GPIO_Speed = GPIO_High_Speed; + GPIO_InitStructure.GPIO_Speed = GPIO_Fast_Speed; GPIO_Init(GPIOA, &GPIO_InitStructure); // Configure USART baud rate