aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/StillImageHost/StillImageHost.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-01-30 23:12:06 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-01-30 23:12:06 +0000
commit43b9d552bb0a32c5cd5f9fa72a8cb3c871ad5ef3 (patch)
tree3eec94c1a0d57fb84c0678d10f1012d234e532a7 /Demos/Host/LowLevel/StillImageHost/StillImageHost.c
parent9051d3beb0c5c4ec1e33749d8f806f5492fbe742 (diff)
downloadlufa-43b9d552bb0a32c5cd5f9fa72a8cb3c871ad5ef3.tar.gz
lufa-43b9d552bb0a32c5cd5f9fa72a8cb3c871ad5ef3.tar.bz2
lufa-43b9d552bb0a32c5cd5f9fa72a8cb3c871ad5ef3.zip
Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable().
Diffstat (limited to 'Demos/Host/LowLevel/StillImageHost/StillImageHost.c')
-rw-r--r--Demos/Host/LowLevel/StillImageHost/StillImageHost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/LowLevel/StillImageHost/StillImageHost.c b/Demos/Host/LowLevel/StillImageHost/StillImageHost.c
index 62382ccca..f174f5302 100644
--- a/Demos/Host/LowLevel/StillImageHost/StillImageHost.c
+++ b/Demos/Host/LowLevel/StillImageHost/StillImageHost.c
@@ -104,7 +104,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();
printf_P(PSTR(ESC_FG_RED "Host Mode Error\r\n"
" -- Error Code %d\r\n" ESC_FG_WHITE), ErrorCode);