aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-06-12 19:49:15 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-06-12 19:49:15 +0000
commitc4ebddd27ab964e55f4c7a1ae098f3f2c8ef47a6 (patch)
treecffdd37b0f144d6ae714821bda2b9ef7e391d784 /LUFA/Common
parentdeb6fce7bc7c897242eccd02bf9da5e5191efb58 (diff)
downloadlufa-c4ebddd27ab964e55f4c7a1ae098f3f2c8ef47a6.tar.gz
lufa-c4ebddd27ab964e55f4c7a1ae098f3f2c8ef47a6.tar.bz2
lufa-c4ebddd27ab964e55f4c7a1ae098f3f2c8ef47a6.zip
Add missing <math.h> include for the UC3 devices, hide CDC class driver stream functions for unsupported platforms.
Diffstat (limited to 'LUFA/Common')
-rw-r--r--LUFA/Common/Common.h3
1 files changed, 2 insertions, 1 deletions
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 <avr32/io.h>
+ #include <math.h>
// === 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__)