Added HID class bootloader, compatible with a modified version of the command line...
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / USBController.c
index b409582..f41b5cc 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2010.
+     Copyright (C) Dean Camera, 2011.
 
   dean [at] fourwalledcubicle [dot] com
 
   dean [at] fourwalledcubicle [dot] com
-      www.fourwalledcubicle.com
+           www.lufa-lib.org
 */
 
 /*
 */
 
 /*
-  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -83,7 +83,7 @@ void USB_Init(
        USB_ResetInterface();
 }
 
        USB_ResetInterface();
 }
 
-void USB_ShutDown(void)
+void USB_Disable(void)
 {
        USB_INT_DisableAllInterrupts();
        USB_INT_ClearAllInterrupts();
 {
        USB_INT_DisableAllInterrupts();
        USB_INT_ClearAllInterrupts();
@@ -152,6 +152,7 @@ void USB_ResetInterface(void)
        {
                #if defined(USB_CAN_BE_HOST)
                UHWCON &= ~(1 << UIMOD);
        {
                #if defined(USB_CAN_BE_HOST)
                UHWCON &= ~(1 << UIMOD);
+
                USB_Init_Host();
                #endif
        }
                USB_Init_Host();
                #endif
        }