Serial interrupt
This commit is contained in:
parent
6f19e643c3
commit
0b78bce168
2
flash
2
flash
|
@ -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
|
||||
|
|
|
@ -84,7 +84,7 @@ ISR(USART0_RX_vect) {
|
|||
char c = uart0_getchar_nowait();
|
||||
fifo_push(&uart0FIFO, c);
|
||||
} else {
|
||||
uart1_getchar_nowait();
|
||||
uart0_getchar_nowait();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue