Now works with hubs

This commit is contained in:
Kristian Lauszus 2012-08-08 20:53:54 +02:00
parent 77d72d49b2
commit c615e62652

View file

@ -242,7 +242,8 @@ FailUnknownDevice:
#ifdef DEBUG
Notify(PSTR("\r\nUnknown Device Connected:"));
#endif
rcode = -1;
pUsb->setAddr(bAddress, 0, 0);
rcode = USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED;
goto Fail;
Fail:
#ifdef DEBUG