diff --git a/flight/board_hw_defs/revomini/board_hw_defs.c b/flight/board_hw_defs/revomini/board_hw_defs.c index 6f2873b05..377d12284 100644 --- a/flight/board_hw_defs/revomini/board_hw_defs.c +++ b/flight/board_hw_defs/revomini/board_hw_defs.c @@ -364,7 +364,7 @@ static const struct pios_usart_cfg pios_usart_main_cfg = { }, }, }; - +#endif /* PIOS_INCLUDE_COM_TELEM */ #ifdef PIOS_INCLUDE_COM_FLEXI @@ -415,6 +415,8 @@ static const struct pios_usart_cfg pios_usart_flexi_cfg = { #endif /* PIOS_INCLUDE_COM_FLEXI */ +#ifdef PIOS_INCLUDE_DSM + #include "pios_dsm_priv.h" static const struct pios_usart_cfg pios_usart_dsm_flexi_cfg = { .regs = USART3, @@ -1067,9 +1069,9 @@ static const struct pios_usb_cfg pios_usb_main_cfg = { }, }, .vsense = { - .gpio = GPIOD, + .gpio = GPIOB, .init = { - .GPIO_Pin = GPIO_Pin_11, + .GPIO_Pin = GPIO_Pin_13, .GPIO_Speed = GPIO_Speed_25MHz, .GPIO_Mode = GPIO_Mode_IN, .GPIO_OType = GPIO_OType_OD,