diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-25 00:36:18 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-25 00:36:18 +0000 |
commit | c05c7c7df46a0377db8a72cb32f06aa40153d3e1 (patch) | |
tree | 0e51bc1ef2a4e32ce29f448299a62ca16c46c3a8 /LUFA/Drivers/USB/HighLevel/USBInterrupt.c | |
parent | d3f11eb52809353d7f103cea8b4332f335c26697 (diff) | |
download | lufa-c05c7c7df46a0377db8a72cb32f06aa40153d3e1.tar.gz lufa-c05c7c7df46a0377db8a72cb32f06aa40153d3e1.tar.bz2 lufa-c05c7c7df46a0377db8a72cb32f06aa40153d3e1.zip |
Added new XPLAIN serial Bridge project (thanks to John Steggall for the software UART code).
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel/USBInterrupt.c')
-rw-r--r-- | LUFA/Drivers/USB/HighLevel/USBInterrupt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/USBInterrupt.c b/LUFA/Drivers/USB/HighLevel/USBInterrupt.c index f58e67010..3cf4bb3e1 100644 --- a/LUFA/Drivers/USB/HighLevel/USBInterrupt.c +++ b/LUFA/Drivers/USB/HighLevel/USBInterrupt.c @@ -229,7 +229,7 @@ ISR(USB_GEN_vect, ISR_BLOCK) #endif
}
-#if defined(INTERRUPT_CONTROL_ENDPOINT)
+#if defined(INTERRUPT_CONTROL_ENDPOINT) && defined(USB_CAN_BE_DEVICE)
ISR(USB_COM_vect, ISR_BLOCK)
{
uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint();
|