Add new tag for the LUFA-120219-BETA release.
[pub/USBasp.git] / LUFA / Drivers / USB / Core / UC3 / USBController_UC3.c
index 965971f..a9a6d35 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2011.
+     Copyright (C) Dean Camera, 2012.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2012  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
@@ -134,6 +134,10 @@ void USB_ResetInterface(void)
        }
        else if (USB_CurrentMode == USB_MODE_Host)
        {
+               #if defined(INVERTED_VBUS_ENABLE_LINE)
+               AVR32_USBB.USBCON.vbuspol = true;
+               #endif
+               
                #if defined(USB_CAN_BE_HOST)
                AVR32_USBB.USBCON.uimod = false;