Removed some unused code

This commit is contained in:
Kristian Lauszus 2013-12-06 22:59:12 +01:00
parent b4bb7c9244
commit 4f738d3ef9
2 changed files with 1 additions and 13 deletions

View file

@ -251,13 +251,7 @@ uint8_t BTD::Init(uint8_t parent, uint8_t port, bool lowspeed) {
}
return 0; // Successful configuration
/* diagnostic messages */
#ifdef DEBUG_USB_HOST
FailGetDevDescr:
NotifyFailGetDevDescr();
goto Fail;
#endif
/* Diagnostic messages */
FailSetDevTblEntry:
#ifdef DEBUG_USB_HOST
NotifyFailSetDevTblEntry();

View file

@ -275,12 +275,6 @@ FailSetConfDescr:
NotifyFailSetConfDescr();
#endif
#ifdef DEBUG_USB_HOST
FailUnknownDevice:
NotifyFailUnknownDevice(VID,PID);
#endif
rcode = USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED;
Fail:
#ifdef DEBUG_USB_HOST
Notify(PSTR("\r\nXbox 360 Init Failed, error code: "), 0x80);