Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is...
[pub/lufa.git] / LUFA / Drivers / USB / LowLevel / LowLevel.c
index f15db40..5ac4761 100644 (file)
@@ -125,7 +125,7 @@ void USB_ShutDown(void)
 \r
        USB_IsInitialized = false;\r
 \r
-       #if defined(CAN_BE_BOTH)\r
+       #if defined(USB_CAN_BE_BOTH)\r
        USB_CurrentMode = USB_MODE_NONE;\r
        #endif\r
 }\r