Oops - fix incorrect variable name in the updated Pipe_Write_8() function.
[pub/USBasp.git] / LUFA / Drivers / USB / Core / OTG.h
index 26b649b..918b2ca 100644 (file)
 \r
        /* Includes: */\r
                #include "../../../Common/Common.h"\r
 \r
        /* Includes: */\r
                #include "../../../Common/Common.h"\r
-\r
-               #if (ARCH == ARCH_AVR8)\r
-                       #include "AVR8/OTG.h"\r
-               #endif\r
-\r
+               #include "USBMode.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
        /* 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/OTG_AVR8.h"\r
+               #endif\r
+\r
 #endif\r
 \r
 /** @} */\r
 #endif\r
 \r
 /** @} */\r