Move out common architecture-independent core definitions into the appropriate core dispatch header files.

This commit is contained in:
Dean Camera 2011-02-27 14:39:49 +00:00
parent f3f481183a
commit 381dd0d490
17 changed files with 219 additions and 372 deletions

View file

@ -43,17 +43,18 @@
/* Includes: */
#include "../../../Common/Common.h"
#if (ARCH == ARCH_AVR8)
#include "AVR8/USBInterrupt_AVR8.h"
#elif (ARCH == ARCH_UC3B)
#include "UC3B/USBInterrupt_UC3B.h"
#endif
/* Preprocessor Checks: */
#if !defined(__INCLUDE_FROM_USB_DRIVER)
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
#endif
/* Architecture Includes: */
#if (ARCH == ARCH_AVR8)
#include "AVR8/USBInterrupt_AVR8.h"
#elif (ARCH == ARCH_UC3B)
#include "UC3B/USBInterrupt_UC3B.h"
#endif
#endif