forked from mfulz_github/qmk_firmware
Fix incorrect error when directly including the LUFA internal USB library components.
This commit is contained in:
parent
071fd8ce53
commit
14a5a94084
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Private Interface - For use in library only: */
|
/* Private Interface - For use in library only: */
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks and Defines: */
|
/* Preprocessor Checks and Defines: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(F_CLOCK)
|
#if !defined(F_CLOCK)
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
|
@ -93,7 +93,7 @@
|
||||||
|
|
||||||
/* Preprocessor Checks: */
|
/* Preprocessor Checks: */
|
||||||
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
#if !defined(__INCLUDE_FROM_USB_DRIVER)
|
||||||
#error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
|
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Public Interface - May be used in end-application: */
|
/* Public Interface - May be used in end-application: */
|
||||||
|
|
Loading…
Reference in New Issue