From 4f738d3ef9939d6b5d0a82af184f1633f588d5e5 Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Fri, 6 Dec 2013 22:59:12 +0100 Subject: [PATCH] Removed some unused code --- BTD.cpp | 8 +------- XBOXRECV.cpp | 6 ------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/BTD.cpp b/BTD.cpp index 0495689c..62a96b70 100755 --- a/BTD.cpp +++ b/BTD.cpp @@ -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(); diff --git a/XBOXRECV.cpp b/XBOXRECV.cpp index a6d79091..8e4008a3 100644 --- a/XBOXRECV.cpp +++ b/XBOXRECV.cpp @@ -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);