mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 05:53:49 +01:00
cpu/stm32f0: fixed typo uart driver defines
This commit is contained in:
parent
e3ba4c6707
commit
010091f265
@ -165,12 +165,12 @@ int uart_init_blocking(uart_t uart, uint32_t baudrate)
|
||||
void uart_tx_begin(uart_t uart)
|
||||
{
|
||||
switch (uart) {
|
||||
#if UART_1_EN
|
||||
#if UART_0_EN
|
||||
case UART_0:
|
||||
UART_0_DEV->CR1 |= USART_CR1_TXEIE;
|
||||
break;
|
||||
#endif
|
||||
#if UART_0_EN
|
||||
#if UART_1_EN
|
||||
case UART_1:
|
||||
UART_1_DEV->CR1 |= USART_CR1_TXEIE;
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user