Make sure that LUFAConfig.h is included *after* the common submodules, so that the architecture and other defines are available to the configuration header.
This commit is contained in:
1 parent
d4684b29b9
commit
851fcd0c2f
1 file changed
+4
-4
@@ -68,16 +68,16 @@
|
||||
#include <string.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#if defined(USE_LUFA_CONFIG_HEADER)
|
||||
#include "LUFAConfig.h"
|
||||
#endif
|
||||
|
||||
#include "Architectures.h"
|
||||
#include "BoardTypes.h"
|
||||
#include "ArchitectureSpecific.h"
|
||||
#include "CompilerSpecific.h"
|
||||
#include "Attributes.h"
|
||||
|
||||
#if defined(USE_LUFA_CONFIG_HEADER)
|
||||
#include "LUFAConfig.h"
|
||||
#endif
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
|
||||
Reference in new issue
Block a user