Added new XPLAIN serial Bridge project (thanks to John Steggall for the software...
[pub/USBasp.git] / LUFA / Drivers / USB / HighLevel / USBInterrupt.c
index f58e670..3cf4bb3 100644 (file)
@@ -229,7 +229,7 @@ ISR(USB_GEN_vect, ISR_BLOCK)
        #endif\r
 }\r
 \r
-#if defined(INTERRUPT_CONTROL_ENDPOINT)\r
+#if defined(INTERRUPT_CONTROL_ENDPOINT) && defined(USB_CAN_BE_DEVICE)\r
 ISR(USB_COM_vect, ISR_BLOCK)\r
 {\r
        uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint();\r