Added INVERTED_VBUS_ENABLE_LINE and NO_AUTO_VBUS_MANAGEMENT compile time options...
[pub/USBasp.git] / LUFA / Drivers / USB / Core / UC3 / Host_UC3.c
index d40a7f2..9d30266 100644 (file)
@@ -80,6 +80,11 @@ void USB_Host_ProcessNextHostState(void)
                                USB_Host_VBUS_Auto_Enable();
                                USB_Host_VBUS_Auto_On();
 
+                               #if defined(NO_AUTO_VBUS_MANAGEMENT)
+                               USB_Host_VBUS_Manual_Enable();
+                               USB_Host_VBUS_Manual_On();
+                               #endif
+
                                USB_HostState = HOST_STATE_Powered_WaitForConnect;
                        }