From af635024db2b5d46d57eb5f5da959f6b4f4bf42c Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Tue, 30 Aug 2011 11:50:08 -0400 Subject: support for non-Leonardo boards is back! --- cores/arduino/Platform.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cores/arduino/Platform.h') diff --git a/cores/arduino/Platform.h b/cores/arduino/Platform.h index 6a1f340..8b8f742 100644 --- a/cores/arduino/Platform.h +++ b/cores/arduino/Platform.h @@ -14,8 +14,10 @@ typedef unsigned long u32; #include "Arduino.h" -#include "USBDesc.h" -#include "USBCore.h" -#include "USBAPI.h" +#if defined(USBCON) + #include "USBDesc.h" + #include "USBCore.h" + #include "USBAPI.h" +#endif /* if defined(USBCON) */ #endif -- cgit v1.2.3-18-g5258