aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/LowLevel/KeyboardHost
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-01-30 23:12:06 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-01-30 23:12:06 +0000
commitee56e212fec6a0487b491542094fd411ee511e7e (patch)
tree3eec94c1a0d57fb84c0678d10f1012d234e532a7 /Demos/Host/LowLevel/KeyboardHost
parentd8fede4957cad38e889bc30edbc07bd19dd8fc06 (diff)
Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable().
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1649 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Host/LowLevel/KeyboardHost')
-rw-r--r--Demos/Host/LowLevel/KeyboardHost/KeyboardHost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/LowLevel/KeyboardHost/KeyboardHost.c b/Demos/Host/LowLevel/KeyboardHost/KeyboardHost.c
index e2e6e36d..84e6145f 100644
--- a/Demos/Host/LowLevel/KeyboardHost/KeyboardHost.c
+++ b/Demos/Host/LowLevel/KeyboardHost/KeyboardHost.c
@@ -103,7 +103,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);