diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-02-23 03:51:17 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-02-23 03:51:17 +0000 |
| commit | 14afffa2770b06d1f1292faf2ef73b83998dd7d8 (patch) | |
| tree | 22da0a1f9754ad8a475212c4cc1585f3ca94f990 /LUFA/Common/Common.h | |
| parent | f349e542ba64e398236463d79e6ab49aa967690a (diff) | |
Update Temperature board driver to be AVR32 compatible when the ADC peripheral driver is eventually ported. Make architecture includes explicit for both the AVR32 and the AVR8, to make way for future architecture ports.
Add SPI driver aliases for the old function names in the AVR8 driver, so that existing code will still compile against the new version.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1151 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Common/Common.h')
| -rw-r--r-- | LUFA/Common/Common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 67bbb929..74b687b4 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -63,7 +63,7 @@ #include "Atomic.h"
#define PROGMEM const
- #else
+ #elif defined(__AVR__)
#include <avr/io.h>
#endif
@@ -195,7 +195,7 @@ /** Type define for a signed native word-sized chunk of data. */
typedef int32_t intN_t;
- #else
+ #elif defined(__AVR__)
/** Type define for an unsigned native word-sized chunk of data. */
typedef uint8_t uintN_t;
|
