Revert to GPIO_Fast_Speed

This commit is contained in:
Geoffrey Merck 2020-05-24 08:11:32 +02:00
parent 47649171fc
commit 4dfab06a50
1 changed files with 1 additions and 1 deletions

View File

@ -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