diff --git a/Makefile b/Makefile index d9c7c77..443c284 100644 --- a/Makefile +++ b/Makefile @@ -69,4 +69,4 @@ esrec: $(PRG)_eeprom.srec install: text # uisp -dprog=stk200 --erase --upload if=$(PRG).srec --verify - avrdude -p m16 -c butterfly -b 115200 -U flash:w:$(PRG).srec + avrdude -p m16 -c butterfly -b 19200 -U flash:w:$(PRG).srec diff --git a/ispprog.c b/ispprog.c index 4c16aa4..94bc73c 100644 --- a/ispprog.c +++ b/ispprog.c @@ -51,7 +51,7 @@ uint8_t lastcmd = 0, lastval = 0, pollcode = 0xFF; uint8_t page_buf[256]; -ISR(SIG_INPUT_CAPTURE1) +ISR(SIG_OUTPUT_COMPARE1A) { // toggle LED PORTB ^= (1<