projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch StaticAnalysisTest build test to use the new build system CPPCHECK module...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Peripheral
/
SPI.h
diff --git
a/LUFA/Drivers/Peripheral/SPI.h
b/LUFA/Drivers/Peripheral/SPI.h
index
3fcf05a
..
7301994
100644
(file)
--- a/
LUFA/Drivers/Peripheral/SPI.h
+++ b/
LUFA/Drivers/Peripheral/SPI.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
1
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-58,18
+58,19
@@
#define __SPI_H__
/* Macros: */
#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)
/* 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
#else
#error The SPI peripheral driver is not currently available for your selected architecture.
#endif
#endif
+