Serial interrupt

This commit is contained in:
Mark Qvist 2020-05-28 18:18:35 +02:00
parent 6f19e643c3
commit 0b78bce168
2 changed files with 2 additions and 2 deletions

2
flash
View File

@ -1,2 +1,2 @@
#!/bin/bash
avrdude -p $2 -c arduino -P /dev/tty$1 -b 115200 -F -U flash:w:images/MicroAPRS.hex
avrdude -p $2 -c arduino -P /dev/tty$1 -b 115200 -F -U flash:w:images/OpenModem.hex

View File

@ -84,7 +84,7 @@ ISR(USART0_RX_vect) {
char c = uart0_getchar_nowait();
fifo_push(&uart0FIFO, c);
} else {
uart1_getchar_nowait();
uart0_getchar_nowait();
}
}
}