diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-08-30 11:50:08 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-08-30 11:50:08 -0400 |
commit | af635024db2b5d46d57eb5f5da959f6b4f4bf42c (patch) | |
tree | 37c2727e05642c2ed5ca2b9267adbf2d6fde70ce /cores/arduino/Platform.h | |
parent | 481fdeab797d449f6b82473b1e377c495224cff7 (diff) |
support for non-Leonardo boards is back!
Diffstat (limited to 'cores/arduino/Platform.h')
-rw-r--r-- | cores/arduino/Platform.h | 8 |
1 files changed, 5 insertions, 3 deletions
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 |