diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-06-12 19:49:15 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-06-12 19:49:15 +0000 |
| commit | d185edf1f7ab28b5754ae0441333a3f95e30b449 (patch) | |
| tree | cffdd37b0f144d6ae714821bda2b9ef7e391d784 /LUFA/Common/Common.h | |
| parent | 812251c88ab7675aa0cd5d7c41c04efdcd219c3a (diff) | |
Add missing <math.h> include for the UC3 devices, hide CDC class driver stream functions for unsupported platforms.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2343 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Common/Common.h')
| -rw-r--r-- | LUFA/Common/Common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 54d73868..d2d657a3 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__) |
