diff --git a/sw/airborne/stm32/uart_hw.h b/sw/airborne/stm32/uart_hw.h index 0b33c80b37..36be6698ea 100644 --- a/sw/airborne/stm32/uart_hw.h +++ b/sw/airborne/stm32/uart_hw.h @@ -42,6 +42,7 @@ #define Uart1_RxPin GPIO_Pin_10 #define Uart1_TxPort GPIOA #define Uart1_RxPort GPIOA +#define Uart1_Periph RCC_APB2Periph_GPIOA #define UART1_RX_BUFFER_SIZE 128 #define UART1_TX_BUFFER_SIZE 128