From 16f124d59691e198c14ca521599768eda064de93 Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Thu, 5 Dec 2013 07:40:07 +0100 Subject: [PATCH] Removed unused code --- XBOXRECV.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/XBOXRECV.cpp b/XBOXRECV.cpp index 662be5fb..a6d79091 100644 --- a/XBOXRECV.cpp +++ b/XBOXRECV.cpp @@ -104,9 +104,7 @@ uint8_t XBOXRECV::ConfigureDevice(uint8_t parent, uint8_t port, bool lowspeed) { return USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL; } - // Extract Max Packet Size from device descriptor - epInfo[0].maxPktSize = udd->bMaxPacketSize0; - //epInfo[1].epAddr = udd->bNumConfigurations; // Steal and abuse from epInfo structure to save memory + epInfo[0].maxPktSize = udd->bMaxPacketSize0; // Extract Max Packet Size from device descriptor delay(20); // Wait a little before resetting device @@ -138,8 +136,6 @@ Fail: uint8_t XBOXRECV::Init(uint8_t parent, uint8_t port, bool lowspeed) { uint8_t rcode; - //uint8_t num_of_conf = epInfo[1].epAddr; // Number of configurations - //epInfo[1].epAddr = 0; AddressPool &addrPool = pUsb->GetAddressPool(); #ifdef EXTRADEBUG