stm32l: ensure we transmit as soon as characters are available

Force starting the transmission immediatly when ordered by the UART
buffering layer.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BUG=None
TEST=run EC console on Discovery and measure the timestamp of each
characters on the serial port.

Change-Id: I036a3fa0a60baa27de4ba0ceb386841a429535ac
This commit is contained in:
Vincent Palatin
2012-02-01 21:24:38 +00:00
parent 5d8e326da3
commit 6986ea134c

View File

@@ -27,6 +27,7 @@ void uart_tx_start(void)
{
STM32L_USART_CR1(UARTN) |= 0x80;
should_stop = 0;
task_trigger_irq(STM32L_IRQ_USART(UARTN));
}
void uart_tx_stop(void)