X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/cf2411435cf41ca4dbfcc3d89c6287743db79625..96a2da1813ac4a0bdd1b0641c67e5af2dd792e73:/LUFA/Drivers/USB/Core/OTG.h diff --git a/LUFA/Drivers/USB/Core/OTG.h b/LUFA/Drivers/USB/Core/OTG.h index 45f365dca..918b2ca8b 100644 --- a/LUFA/Drivers/USB/Core/OTG.h +++ b/LUFA/Drivers/USB/Core/OTG.h @@ -52,16 +52,18 @@ /* Includes: */ #include "../../../Common/Common.h" - - #if (ARCH == ARCH_AVR8) - #include "AVR8/OTG_AVR8.h" - #endif - + #include "USBMode.h" + /* Preprocessor Checks: */ #if !defined(__INCLUDE_FROM_USB_DRIVER) #error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead. #endif + /* Architecture Includes: */ + #if (ARCH == ARCH_AVR8) + #include "AVR8/OTG_AVR8.h" + #endif + #endif /** @} */