]> git.zarvox.org Git - usbsnes.git/commitdiff
Fix ISR macro so the interrupt routine gets in the interrupt vector.
authorDrew Fisher <drew.m.fisher@gmail.com>
Wed, 24 Feb 2010 02:18:17 +0000 (21:18 -0500)
committerDrew Fisher <drew.m.fisher@gmail.com>
Wed, 24 Feb 2010 02:18:17 +0000 (21:18 -0500)
main.c

diff --git a/main.c b/main.c
index 236766cdc62d198a26d930529ad4ff105ea34677..aee88a4680165f62a8f4dd2645d3660734e26a59 100644 (file)
--- a/main.c
+++ b/main.c
@@ -58,7 +58,7 @@ usbMsgLen_t usbFunctionSetup(uchar data[8]) {
        return 0;   /* default for not implemented requests: return no data back to host */
 }
 
-ISR(TIMER1_COMPA) {
+ISR(TIMER1_COMPA_vect) {
        buttonState.buttons = pollSnes();
 }