Move out common architecture-independent core definitions into the appropriate core...
[pub/lufa.git] / LUFA / Drivers / USB / Core / USBInterrupt.h
index 252ad50..b850f3f 100644 (file)
 \r
        /* Includes: */\r
                #include "../../../Common/Common.h"\r
+               \r
+       /* Preprocessor Checks: */\r
+               #if !defined(__INCLUDE_FROM_USB_DRIVER)\r
+                       #error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.\r
+               #endif\r
 \r
+       /* Architecture Includes: */\r
                #if (ARCH == ARCH_AVR8)\r
                        #include "AVR8/USBInterrupt_AVR8.h"\r
                #elif (ARCH == ARCH_UC3B)\r
                        #include "UC3B/USBInterrupt_UC3B.h"\r
                #endif\r
-               \r
-       /* Preprocessor Checks: */\r
-               #if !defined(__INCLUDE_FROM_USB_DRIVER)\r
-                       #error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.\r
-               #endif\r
 \r
 #endif\r
 \r