mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-14 20:32:23 -04:00
Serial buffers
This commit is contained in:
parent
66662866e2
commit
3e43786dd1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue