projects
/
usbsnes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6cac80
)
Fix a bug where the USB interrupt doesn't make it to the interrupt vector table.
author
Drew Fisher
<drew.m.fisher@gmail.com>
Wed, 24 Feb 2010 17:37:43 +0000
(12:37 -0500)
committer
Drew Fisher
<drew.m.fisher@gmail.com>
Wed, 24 Feb 2010 17:37:43 +0000
(12:37 -0500)
Somehow, either due to version differences between v-usb or
avr-gcc/avr-libc, SIG_INTERRUPT0 was not getting linked to the interrupt
vector table where it belonged. Naming the routine INT0_vect seems to
fix the problem.
usbconfig.h
patch
|
blob
|
history
diff --git
a/usbconfig.h
b/usbconfig.h
index efa2b929c131b95cf644043b978009f24936d486..3363dc9d5aecf0fe4df4dc702d78da12a83ae092 100644
(file)
--- a/
usbconfig.h
+++ b/
usbconfig.h
@@
-370,5
+370,6
@@
section at the end of this file).
/* #define USB_INTR_PENDING GIFR */
/* #define USB_INTR_PENDING_BIT INTF0 */
/* #define USB_INTR_VECTOR SIG_INTERRUPT0 */
+#define USB_INTR_VECTOR INT0_vect
#endif /* __usbconfig_h_included__ */