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 return 0; // Successful configuration
/* diagnostic messages */ /* Diagnostic messages */
#ifdef DEBUG_USB_HOST
FailGetDevDescr:
NotifyFailGetDevDescr();
goto Fail;
#endif
FailSetDevTblEntry: FailSetDevTblEntry:
#ifdef DEBUG_USB_HOST #ifdef DEBUG_USB_HOST
NotifyFailSetDevTblEntry(); NotifyFailSetDevTblEntry();

View file

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