mirror of
https://github.com/markqvist/OpenModem.git
synced 2024-10-01 03:15:46 -04:00
Serial buffers
This commit is contained in:
parent
66662866e2
commit
3e43786dd1
@ -82,7 +82,7 @@ ISR(USART0_RX_vect) {
|
||||
LED_COM_ON();
|
||||
if (!fifo_isfull(&uart0FIFO)) {
|
||||
char c = uart0_getchar_nowait();
|
||||
fifo_push_locked(&uart0FIFO, c);
|
||||
fifo_push(&uart0FIFO, c);
|
||||
} else {
|
||||
uart0_getchar_nowait();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user