Move out common architecture-independent core definitions into the appropriate core...
[pub/lufa.git] / LUFA / Drivers / USB / Core / USBController.h
index e17a2d7..719b97b 100644 (file)
        /* Includes: */\r
                #include "../../../Common/Common.h"\r
 \r
+       /* Preprocessor Checks and Defines: */\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/USBController_AVR8.h"\r
                #elif (ARCH == ARCH_UC3B)\r
                        #include "UC3B/USBController_UC3B.h"    \r
                #endif\r
 \r
-       /* Preprocessor Checks and Defines: */\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
 /** @} */\r