Seperated out parts of the PrinterHost incomplete demo into a seperate Lib subdirectory.
[pub/USBasp.git] / LUFA / Drivers / USB / HighLevel / USBInterrupt.c
index 43bc532..c240bef 100644 (file)
@@ -243,8 +243,8 @@ ISR(USB_GEN_vect, ISR_BLOCK)
                {\r
                        if (USB_CurrentMode == USB_MODE_HOST)\r
                          EVENT_USB_DeviceUnattached();\r
-                       else\r
-                         EVENT_USB_Disconnect();\r
+\r
+                       EVENT_USB_Disconnect();\r
                }\r
 \r
                EVENT_USB_UIDChange();\r