From 05b3c0cc85ffcd9c32013a284d4a28df451a2692 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Mon, 21 Nov 2011 18:32:21 +0100 Subject: [PATCH] USB: removed some include file to let core compile again --- hardware/sam/cores/sam/CDC.cpp | 3 +-- hardware/sam/cores/sam/Platform.h | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/hardware/sam/cores/sam/CDC.cpp b/hardware/sam/cores/sam/CDC.cpp index 14a0eaee7..fb980ab75 100644 --- a/hardware/sam/cores/sam/CDC.cpp +++ b/hardware/sam/cores/sam/CDC.cpp @@ -18,7 +18,6 @@ #include "Platform.h" #include "USBAPI.h" -#include #if defined(USBCON) #ifdef CDC_ENABLED @@ -172,4 +171,4 @@ size_t Serial_::write(uint8_t c) Serial_ Serial; #endif -#endif /* if defined(USBCON) */ \ No newline at end of file +#endif /* if defined(USBCON) */ diff --git a/hardware/sam/cores/sam/Platform.h b/hardware/sam/cores/sam/Platform.h index 8b8f74277..e334dcad1 100644 --- a/hardware/sam/cores/sam/Platform.h +++ b/hardware/sam/cores/sam/Platform.h @@ -3,10 +3,6 @@ #define __PLATFORM_H__ #include -#include -#include -#include -#include typedef unsigned char u8; typedef unsigned short u16;