diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-22 11:44:34 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-22 11:44:34 +0000 |
commit | aae20139b90521cf1d1b17fdcb3ff9d42ecdf937 (patch) | |
tree | c74b83691225a38b1fac5a78d83740081c441043 /LUFA/Scheduler | |
parent | d2851b335106293e5f95107226b5deeed712a69c (diff) | |
download | lufa-aae20139b90521cf1d1b17fdcb3ff9d42ecdf937.tar.gz lufa-aae20139b90521cf1d1b17fdcb3ff9d42ecdf937.tar.bz2 lufa-aae20139b90521cf1d1b17fdcb3ff9d42ecdf937.zip |
Add drivers for the EVK1101 - begin full port to the AVR32 UC3B line of AVRs.
Diffstat (limited to 'LUFA/Scheduler')
-rw-r--r-- | LUFA/Scheduler/Scheduler.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/LUFA/Scheduler/Scheduler.h b/LUFA/Scheduler/Scheduler.h index f71736fd5..084fb1e8c 100644 --- a/LUFA/Scheduler/Scheduler.h +++ b/LUFA/Scheduler/Scheduler.h @@ -86,12 +86,16 @@ #define __SCHEDULER_H__
/* Includes: */
- #include <avr/io.h>
+ #if defined(__AVR32__)
+ #include <avr32/io.h>
#include <stdbool.h>
-
+ #else
+ #include <avr/io.h>
#include <util/atomic.h>
+ #include <stdbool.h>
+ #endif
- #include "../Common/Common.h"
+ #include "../Common/Common.h"
/* Enable C linkage for C++ Compilers: */
#if defined(__cplusplus)
|