aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/USBHostMode.c
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/Webserver/USBHostMode.c')
-rw-r--r--Projects/Webserver/USBHostMode.c2
1 files changed, 1 insertions, 1 deletions
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(;;);