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
/
Host.h
diff --git
a/LUFA/Drivers/USB/LowLevel/Host.h
b/LUFA/Drivers/USB/LowLevel/Host.h
index
5672dd5
..
1e4d3c9
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/Host.h
+++ b/
LUFA/Drivers/USB/LowLevel/Host.h
@@
-41,10
+41,16
@@
#define __USBHOST_H__
\r
\r
/* Includes: */
\r
#define __USBHOST_H__
\r
\r
/* Includes: */
\r
- #include <avr/io.h>
\r
- #include <stdbool.h>
\r
- #include <util/delay.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 <stdbool.h>
\r
+ #include <util/delay.h>
\r
+ #endif
\r
+
\r
#include "../../../Common/Common.h"
\r
#include "../HighLevel/USBInterrupt.h"
\r
#include "../HighLevel/StdDescriptors.h"
\r
#include "../../../Common/Common.h"
\r
#include "../HighLevel/USBInterrupt.h"
\r
#include "../HighLevel/StdDescriptors.h"
\r