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 #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