diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-25 16:30:47 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-25 16:30:47 +0000 |
commit | 51f3a6becd8566243c12243b7c295de1fcabc388 (patch) | |
tree | 2ebaa09b139307ead6e42c6ff6aa77fb03459993 /stm/usart.c | |
parent | b829b5caecd1ba4fbc30e03978776d2c868dd67b (diff) |
stm: Improved ADC module; add BOARD_NAME config value.
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 1ab385174..d9de599c4 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; |