I think we want to wait before we send the UART byte rather than after...
This commit is contained in:
parent
11b856822d
commit
2095715eb1
@ -116,9 +116,8 @@ void usart_wait_recv_ready(u32 usart)
|
||||
|
||||
void usart_send_blocking(u32 usart, u16 data)
|
||||
{
|
||||
usart_send(usart, data);
|
||||
|
||||
usart_wait_send_ready(usart);
|
||||
usart_send(usart, data);
|
||||
}
|
||||
|
||||
u16 usart_recv_blocking(u32 usart)
|
||||
|
Loading…
x
Reference in New Issue
Block a user