Make SPI and USART peripheral dispatch driver headers in preparation for a set of...
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / OTG.h
index 9cce2e6..25cb180 100644 (file)
                \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.h instead.\r
+               #endif\r
+               \r
        /* Public Interface - May be used in end-application: */\r
                /* Macros: */\r
                        /** Mask for the VBUS pulsing method of SRP, supported by some OTG devices.\r