mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-04-01 17:10:20 +02:00
Update input.c
This commit is contained in:
@@ -45,6 +45,7 @@ void uart0_init(void)
|
||||
uint8_t on_uart_rx(void)
|
||||
{
|
||||
uint8_t c = 0;
|
||||
|
||||
while (!uart_is_readable(UART_ID)) {
|
||||
c = uart_getc(UART_ID);
|
||||
return c;
|
||||
|
||||
Reference in New Issue
Block a user