projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix corner case in the HID report descriptor Mouse/Joystick tempates at the 8/16...
[pub/USBasp.git]
/
Demos
/
Host
/
LowLevel
/
MassStorageHost
/
MassStorageHost.c
diff --git
a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c
b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c
index
5030b85
..
dd085ef
100644
(file)
--- a/
Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c
+++ b/
Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c
@@
-108,7
+108,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);
@@
-241,7
+241,7
@@
void MassStorage_Task(void)
for (;;)
{
for (;;)
{
- Serial_
Tx
Byte('.');
+ Serial_
Send
Byte('.');
/* Abort if device removed */
if (USB_HostState == HOST_STATE_Unattached)
/* Abort if device removed */
if (USB_HostState == HOST_STATE_Unattached)