From 4512f0ee0c15e78bea8e898773f632ef33520ccc Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Sun, 24 Nov 2013 16:55:03 +0100 Subject: [PATCH] Whitespace --- XBOXOLD.cpp | 6 +++--- XBOXUSB.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/XBOXOLD.cpp b/XBOXOLD.cpp index b08f857b..31d2fb6e 100644 --- a/XBOXOLD.cpp +++ b/XBOXOLD.cpp @@ -42,7 +42,7 @@ const uint8_t XBOXOLDBUTTONS[] PROGMEM = { 0, // A 2, // X 3, // Y -}; +}; XBOXOLD::XBOXOLD(USB *p) : pUsb(p), // pointer to USB class instance - mandatory @@ -118,7 +118,7 @@ uint8_t XBOXOLD::Init(uint8_t parent, uint8_t port, bool lowspeed) { if ((VID != XBOX_VID && VID != MADCATZ_VID && VID != JOYTECH_VID) || (PID != XBOX_OLD_PID1 && PID != XBOX_OLD_PID2 && PID != XBOX_OLD_PID3 && PID != XBOX_OLD_PID4)) // Check if VID and PID match goto FailUnknownDevice; - + // Allocate new address according to device class bAddress = addrPool.AllocAddress(parent, false, port); @@ -145,7 +145,7 @@ uint8_t XBOXOLD::Init(uint8_t parent, uint8_t port, bool lowspeed) { D_PrintHex (bAddress, 0x80); #endif delay(300); // Spec says you should wait at least 200ms - + p->lowspeed = false; //get pointer to assigned address record diff --git a/XBOXUSB.cpp b/XBOXUSB.cpp index 4b635f43..1e460347 100644 --- a/XBOXUSB.cpp +++ b/XBOXUSB.cpp @@ -133,7 +133,7 @@ uint8_t XBOXUSB::Init(uint8_t parent, uint8_t port, bool lowspeed) { D_PrintHex (bAddress, 0x80); #endif delay(300); // Spec says you should wait at least 200ms - + p->lowspeed = false; //get pointer to assigned address record