mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-06-19 20:04:21 -04:00
2400 baud optimisations
This commit is contained in:
parent
532e440a3d
commit
07b589fe3f
6 changed files with 55 additions and 35 deletions
|
@ -52,15 +52,6 @@ ISR(USART0_RX_vect) {
|
|||
if (!fifo_isfull(&serialFIFO)) {
|
||||
char c = uart0_getchar_nowait();
|
||||
fifo_push(&serialFIFO, c);
|
||||
} else {
|
||||
// TODO: Remove this
|
||||
printf("SERIAL FIFO OVERRUN\r\n");
|
||||
printf("QH: %d", queue_height);
|
||||
while(true) {
|
||||
LED_TX_ON();
|
||||
LED_RX_ON();
|
||||
LED_COM_ON();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue