From 25b0b3df0f37bd5ae96bee8602ad950d5f6d3eab Mon Sep 17 00:00:00 2001 From: Steve Evans Date: Sun, 26 Apr 2015 11:26:04 +0100 Subject: [PATCH] OP-1849 For Revo put DTR on pin 9 of FlexIO port --- flight/targets/boards/revolution/board_hw_defs.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flight/targets/boards/revolution/board_hw_defs.c b/flight/targets/boards/revolution/board_hw_defs.c index ea7f5fb92..f935f4fc2 100644 --- a/flight/targets/boards/revolution/board_hw_defs.c +++ b/flight/targets/boards/revolution/board_hw_defs.c @@ -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 = {