diff --git a/flash b/flash index dbd6704..d3df6db 100755 --- a/flash +++ b/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 diff --git a/hardware/Serial.c b/hardware/Serial.c index c2240f3..b0291d3 100755 --- a/hardware/Serial.c +++ b/hardware/Serial.c @@ -84,7 +84,7 @@ ISR(USART0_RX_vect) { char c = uart0_getchar_nowait(); fifo_push(&uart0FIFO, c); } else { - uart1_getchar_nowait(); + uart0_getchar_nowait(); } } }