BootCmd should be always high

This commit is contained in:
Bertrand Songis
2019-05-06 11:23:51 +02:00
parent a3fe388399
commit 05596fec9e
3 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ void init_sbus_on_heartbeat_capture()
GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz;
GPIO_Init(GPIOC, &GPIO_InitStructure);
GPIO_Init(HEARTBEAT_GPIO, &GPIO_InitStructure);
USART_InitStructure.USART_BaudRate = 100000;
USART_InitStructure.USART_WordLength = USART_WordLength_9b;