mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user