aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/OTG.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/OTG.h')
-rw-r--r--LUFA/Drivers/USB/LowLevel/OTG.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/OTG.h b/LUFA/Drivers/USB/LowLevel/OTG.h
index 25cb180a1..acbd47937 100644
--- a/LUFA/Drivers/USB/LowLevel/OTG.h
+++ b/LUFA/Drivers/USB/LowLevel/OTG.h
@@ -42,8 +42,14 @@
#define __USBOTG_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 "../../../Common/Common.h"