Make sure that LUFAConfig.h is included *after* the common submodules, so that the architecture and other defines are available to the configuration header.

pull/1469/head
Dean Camera 13 years ago
parent d4684b29b9
commit 851fcd0c2f

@ -68,16 +68,16 @@
#include <string.h> #include <string.h>
#include <stddef.h> #include <stddef.h>
#if defined(USE_LUFA_CONFIG_HEADER)
#include "LUFAConfig.h"
#endif
#include "Architectures.h" #include "Architectures.h"
#include "BoardTypes.h" #include "BoardTypes.h"
#include "ArchitectureSpecific.h" #include "ArchitectureSpecific.h"
#include "CompilerSpecific.h" #include "CompilerSpecific.h"
#include "Attributes.h" #include "Attributes.h"
#if defined(USE_LUFA_CONFIG_HEADER)
#include "LUFAConfig.h"
#endif
/* Enable C linkage for C++ Compilers: */ /* Enable C linkage for C++ Compilers: */
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {

Loading…
Cancel
Save