From c4ebddd27ab964e55f4c7a1ae098f3f2c8ef47a6 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 12 Jun 2012 19:49:15 +0000 Subject: Add missing include for the UC3 devices, hide CDC class driver stream functions for unsupported platforms. --- LUFA/Common/Common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'LUFA/Common/Common.h') diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 54d738682..d2d657a39 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -109,9 +109,10 @@ #include "Endianness.h" #elif (ARCH == ARCH_UC3) #include + #include // === TODO: Find abstracted way to handle these === - #define PROGMEM const + #define PROGMEM #define pgm_read_byte(x) *x #define memcmp_P(...) memcmp(__VA_ARGS__) #define memcpy_P(...) memcpy(__VA_ARGS__) -- cgit v1.2.3