diff options
Diffstat (limited to 'stm/usart.c')
-rw-r--r-- | stm/usart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/usart.c b/stm/usart.c index 1ab385174d..d9de599c46 100644 --- a/stm/usart.c +++ b/stm/usart.c @@ -77,7 +77,7 @@ void usart_init(pyb_usart_t usart_id, uint32_t baudrate) { case PYB_USART_3: USARTx = USART3; -#if defined(PYBOARD4) +#if defined(PYBOARD3) || defined(PYBOARD4) GPIO_Port = GPIOB; GPIO_AF_USARTx = GPIO_AF_USART3; GPIO_Pin = GPIO_Pin_10 | GPIO_Pin_11; |