aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/USB/LowLevel/HostChapter9.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/HostChapter9.h')
-rw-r--r--LUFA/Drivers/USB/LowLevel/HostChapter9.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/HostChapter9.h b/LUFA/Drivers/USB/LowLevel/HostChapter9.h
index 1a85cf6d..1bd8b6f9 100644
--- a/LUFA/Drivers/USB/LowLevel/HostChapter9.h
+++ b/LUFA/Drivers/USB/LowLevel/HostChapter9.h
@@ -32,8 +32,14 @@
#define __HOSTCHAPTER9_H__
/* Includes: */
- #include <avr/io.h>
- #include <stdbool.h>
+ #if defined(__AVR32__)
+ #include <avr32/io.h>
+ #include <stdint.h>
+ #include <stdbool.h>
+ #elif defined(__AVR__)
+ #include <avr/io.h>
+ #include <stdbool.h>
+ #endif
#include "LowLevel.h"
#include "../HighLevel/USBMode.h"