diff options
Diffstat (limited to 'stmhal/usart.c')
-rw-r--r-- | stmhal/usart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/usart.c b/stmhal/usart.c index daf8a9e1fc..14539c597c 100644 --- a/stmhal/usart.c +++ b/stmhal/usart.c @@ -52,7 +52,7 @@ void usart_init(pyb_usart_obj_t *usart_obj, uint32_t baudrate) { case PYB_USART_3: USARTx = USART3; -#if defined(PYBOARD3) || defined(PYBOARD4) +#if defined(PYBV3) || defined(PYBV4) GPIO_Port = GPIOB; GPIO_AF_USARTx = GPIO_AF7_USART3; GPIO_Pin = GPIO_PIN_10 | GPIO_PIN_11; |