mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Now works with hubs
This commit is contained in:
parent
77d72d49b2
commit
c615e62652
1 changed files with 2 additions and 1 deletions
|
@ -242,7 +242,8 @@ FailUnknownDevice:
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
Notify(PSTR("\r\nUnknown Device Connected:"));
|
Notify(PSTR("\r\nUnknown Device Connected:"));
|
||||||
#endif
|
#endif
|
||||||
rcode = -1;
|
pUsb->setAddr(bAddress, 0, 0);
|
||||||
|
rcode = USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED;
|
||||||
goto Fail;
|
goto Fail;
|
||||||
Fail:
|
Fail:
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
Loading…
Reference in a new issue