X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/9051d3beb0c5c4ec1e33749d8f806f5492fbe742..43b9d552bb0a32c5cd5f9fa72a8cb3c871ad5ef3:/Projects/Webserver/USBHostMode.c diff --git a/Projects/Webserver/USBHostMode.c b/Projects/Webserver/USBHostMode.c index a33892238..941ebba8d 100644 --- a/Projects/Webserver/USBHostMode.c +++ b/Projects/Webserver/USBHostMode.c @@ -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(;;);