mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-19 04:52:12 +01:00
OP-1849 For Revo put DTR on pin 9 of FlexIO port
This commit is contained in:
parent
7445add280
commit
25b0b3df0f
@ -1113,13 +1113,14 @@ static const struct pios_usart_cfg pios_usart_rcvrport_cfg = {
|
||||
},
|
||||
|
||||
.dtr = {
|
||||
.gpio = GPIOB,
|
||||
.init = {
|
||||
.GPIO_Pin = GPIO_Pin_13, // FlexIO pin 4
|
||||
// FlexIO pin 9
|
||||
.gpio = GPIOC,
|
||||
.init = {
|
||||
.GPIO_Pin = GPIO_Pin_8,
|
||||
.GPIO_Speed = GPIO_Speed_25MHz,
|
||||
.GPIO_Mode = GPIO_Mode_OUT,
|
||||
.GPIO_OType = GPIO_OType_PP,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
.tx = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user