GPIO speed adjustments - to be tested!

This commit is contained in:
Andre Bernet
2016-03-25 14:39:07 +04:00
parent bc70acb55d
commit 79dffdf5f4
12 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ void uart3Setup(unsigned int baudrate, bool dma)
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF;
GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz;
GPIO_Init(SERIAL_GPIO, &GPIO_InitStructure);
USART_InitStructure.USART_BaudRate = baudrate;