Renamed all driver termination *_ShutDown() functions to the more logical name *_Disa...
[pub/USBasp.git] / Projects / Webserver / USBHostMode.c
index a338922..941ebba 100644 (file)
@@ -163,7 +163,7 @@ void EVENT_USB_Host_DeviceEnumerationComplete(void)
 /** Event handler for the USB_HostError event. This indicates that a hardware error occurred while in host mode. */
 void EVENT_USB_Host_HostError(const uint8_t ErrorCode)
 {
-       USB_ShutDown();
+       USB_Disable();
 
        LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
        for(;;);