Start porting the USB core to the AVR32 UC3B.
[pub/lufa.git] / LUFA / Drivers / USB / HighLevel / USBTask.h
index c01b84c..350ad5d 100644 (file)
 #define __USBTASK_H__\r
 \r
        /* Includes: */\r
 #define __USBTASK_H__\r
 \r
        /* Includes: */\r
-               #include <avr/io.h>\r
-               #include <avr/interrupt.h>\r
-               #include <stdbool.h>\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 "../LowLevel/LowLevel.h"\r
                #include "Events.h"\r
                \r
                #include "../LowLevel/LowLevel.h"\r
                #include "Events.h"\r