From 1a6e586ac10ddbb3c7a3cbe7b801e7807fabc42d Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Mon, 23 Sep 2013 22:32:42 +0200 Subject: [PATCH] Removed unused includes from PS3USB and Xbox libraries --- PS3USB.h | 6 ------ XBOXOLD.h | 8 +------- XBOXRECV.h | 6 ------ XBOXUSB.h | 6 ------ 4 files changed, 1 insertion(+), 25 deletions(-) diff --git a/PS3USB.h b/PS3USB.h index 92628197..5b7788d7 100644 --- a/PS3USB.h +++ b/PS3USB.h @@ -18,12 +18,6 @@ #ifndef _ps3usb_h_ #define _ps3usb_h_ -#if defined(ARDUINO) && ARDUINO >= 100 -#include "Arduino.h" -#else -#include "WProgram.h" -#endif - #include "Usb.h" #include "PS3Enums.h" diff --git a/XBOXOLD.h b/XBOXOLD.h index b7780b2a..02eadbbc 100644 --- a/XBOXOLD.h +++ b/XBOXOLD.h @@ -18,14 +18,8 @@ #ifndef _xboxold_h_ #define _xboxold_h_ -#if defined(ARDUINO) && ARDUINO >= 100 -#include "Arduino.h" -#else -#include "WProgram.h" -#endif - #include "Usb.h" - #include "controllerEnums.h" +#include "controllerEnums.h" /* Data Xbox taken from descriptors */ #define EP_MAXPKTSIZE 32 // Max size for data via USB diff --git a/XBOXRECV.h b/XBOXRECV.h index ccce3b4d..d551da70 100644 --- a/XBOXRECV.h +++ b/XBOXRECV.h @@ -20,12 +20,6 @@ #ifndef _xboxrecv_h_ #define _xboxrecv_h_ -#if defined(ARDUINO) && ARDUINO >= 100 -#include "Arduino.h" -#else -#include "WProgram.h" -#endif - #include "Usb.h" #include "xboxEnums.h" diff --git a/XBOXUSB.h b/XBOXUSB.h index 13f1057f..a11d55a1 100644 --- a/XBOXUSB.h +++ b/XBOXUSB.h @@ -18,12 +18,6 @@ #ifndef _xboxusb_h_ #define _xboxusb_h_ -#if defined(ARDUINO) && ARDUINO >= 100 -#include "Arduino.h" -#else -#include "WProgram.h" -#endif - #include "Usb.h" #include "xboxEnums.h"