X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/28a1ee29a1a200c8e8c76355a9036a7456425bc3..bc3db793e9867567bc881942845c7d84c2b09e37:/LUFA/Drivers/Peripheral/SPI.h?ds=sidebyside diff --git a/LUFA/Drivers/Peripheral/SPI.h b/LUFA/Drivers/Peripheral/SPI.h index 3fcf05aaf..49a07b58b 100644 --- a/LUFA/Drivers/Peripheral/SPI.h +++ b/LUFA/Drivers/Peripheral/SPI.h @@ -58,18 +58,19 @@ #define __SPI_H__ /* Macros: */ - #if !defined(__DOXYGEN__) - #define __INCLUDE_FROM_SPI_H - #endif + #define __INCLUDE_FROM_SPI_H /* Includes: */ #include "../../Common/Common.h" /* Includes: */ #if (ARCH == ARCH_AVR8) - #include "AVR8/SPI.h" + #include "AVR8/SPI_AVR8.h" + #elif (ARCH == ARCH_XMEGA) + #include "XMEGA/SPI_XMEGA.h" #else #error The SPI peripheral driver is not currently available for your selected architecture. #endif #endif +