mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Fixed FailUnknownDevice
This commit is contained in:
parent
752d9a70ba
commit
d2ae0b4cd4
1 changed files with 2 additions and 1 deletions
3
PS3BT.cpp
Normal file → Executable file
3
PS3BT.cpp
Normal file → Executable file
|
@ -306,7 +306,8 @@ FailUnknownDevice:
|
||||||
Notify(PSTR(" PID: "));
|
Notify(PSTR(" PID: "));
|
||||||
PrintHex<uint16_t>(PID);
|
PrintHex<uint16_t>(PID);
|
||||||
#endif
|
#endif
|
||||||
rcode = -1;
|
pUsb->setAddr(bAddress, 0, 0); // Reset address
|
||||||
|
rcode = USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED;
|
||||||
goto Fail;
|
goto Fail;
|
||||||
Fail:
|
Fail:
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
Loading…
Reference in a new issue