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/CDC.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cores/arduino/CDC.cpp') diff --git a/cores/arduino/CDC.cpp b/cores/arduino/CDC.cpp index 1f1fcb5..b229cb5 100644 --- a/cores/arduino/CDC.cpp +++ b/cores/arduino/CDC.cpp @@ -20,6 +20,7 @@ #include "USBAPI.h" #include +#if defined(USBCON) #ifdef CDC_ENABLED // TODO: Should really use the wdt here @@ -174,3 +175,4 @@ size_t Serial_::write(uint8_t c) Serial_ Serial; #endif +#endif /* if defined(USBCON) */ \ No newline at end of file -- cgit v1.2.3-18-g5258