projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed all driver termination *_ShutDown() functions to the more logical name *_Disa...
[pub/USBasp.git]
/
Demos
/
DualRole
/
ClassDriver
/
MouseHostDevice
/
HostFunctions.c
diff --git
a/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
b/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
index
2f3fa8b
..
3ef593f
100644
(file)
--- a/
Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
+++ b/
Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
@@
-81,7
+81,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)
{
/** 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);
printf_P(PSTR(ESC_FG_RED "Host Mode Error\r\n"
" -- Error Code %d\r\n" ESC_FG_WHITE), ErrorCode);