projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add architecture guards to all architecture-specific files, so that they can be bulk...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Peripheral
/
AVR8
/
TWI_AVR8.c
diff --git
a/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c
b/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c
index
34e6415
..
45477fd
100644
(file)
--- a/
LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c
+++ b/
LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c
@@
-28,6
+28,9
@@
this software.
*/
+#include "../../../Common/Common.h"
+#if (ARCH == ARCH_AVR8)
+
#define __INCLUDE_FROM_TWI_C
#include "../TWI.h"
@@
-201,3
+204,4
@@
uint8_t TWI_WritePacket(const uint8_t SlaveAddress,
return ErrorCode;
}
+#endif