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
/
LowLevel
/
LowLevel.h
diff --git
a/LUFA/Drivers/USB/LowLevel/LowLevel.h
b/LUFA/Drivers/USB/LowLevel/LowLevel.h
index
1a92d47
..
581dfd1
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/LowLevel.h
+++ b/
LUFA/Drivers/USB/LowLevel/LowLevel.h
@@
-40,10
+40,16
@@
#define __USBLOWLEVEL_H__
\r
\r
/* Includes: */
\r
#define __USBLOWLEVEL_H__
\r
\r
/* Includes: */
\r
- #include <avr/io.h>
\r
- #include <avr/interrupt.h>
\r
- #include <stdbool.h>
\r
-
\r
+ #if defined(__AVR32__)
\r
+ #include <avr32/io.h>
\r
+ #include <stdint.h>
\r
+ #include <stdbool.h>
\r
+ #elif defined(__AVR__)
\r
+ #include <avr/io.h>
\r
+ #include <avr/interrupt.h>
\r
+ #include <stdbool.h>
\r
+ #endif
\r
+
\r
#include "../HighLevel/USBMode.h"
\r
\r
#include "../../../Common/Common.h"
\r
#include "../HighLevel/USBMode.h"
\r
\r
#include "../../../Common/Common.h"
\r