Fixed FailUnknownDevice

This commit is contained in:
Kristian Lauszus 2012-08-08 21:24:13 +02:00
parent 752d9a70ba
commit d2ae0b4cd4

3
PS3BT.cpp Normal file → Executable file
View file

@ -306,7 +306,8 @@ FailUnknownDevice:
Notify(PSTR(" PID: "));
PrintHex<uint16_t>(PID);
#endif
rcode = -1;
pUsb->setAddr(bAddress, 0, 0); // Reset address
rcode = USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED;
goto Fail;
Fail:
#ifdef DEBUG