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:
Dean Camera 2012-05-29 20:01:04 +00:00
parent d4684b29b9
commit 851fcd0c2f
1 changed files with 4 additions and 4 deletions

View File

@ -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" {