projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start porting the USB core to the AVR32 UC3B.
[pub/lufa.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
USBInterrupt.h
diff --git
a/LUFA/Drivers/USB/HighLevel/USBInterrupt.h
b/LUFA/Drivers/USB/HighLevel/USBInterrupt.h
index
6ff7c70
..
94f88e2
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/USBInterrupt.h
+++ b/
LUFA/Drivers/USB/HighLevel/USBInterrupt.h
@@
-32,8
+32,14
@@
#define __USBINTERRUPT_H__
\r
\r
/* Includes: */
\r
#define __USBINTERRUPT_H__
\r
\r
/* Includes: */
\r
- #include <avr/io.h>
\r
- #include <stdbool.h>
\r
+ #if defined(__AVR32__)
\r
+ #include <avr32/io.h>
\r
+ #include <stdbool.h>
\r
+ #include <stdint.h>
\r
+ #elif defined(__AVR__)
\r
+ #include <avr/io.h>
\r
+ #include <stdbool.h>
\r
+ #endif
\r
\r
#include "../../../Common/Common.h"
\r
#include "../LowLevel/LowLevel.h"
\r
\r
#include "../../../Common/Common.h"
\r
#include "../LowLevel/LowLevel.h"
\r