projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AppConfigHeaders: Update several additional user projects to use configuration header...
[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
0c62d56
..
495744b
100644
(file)
--- a/
LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c
+++ b/
LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c
@@
-7,7
+7,7
@@
*/
/*
*/
/*
- 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
@@
-28,6
+28,9
@@
this software.
*/
this software.
*/
+#include "../../../Common/Common.h"
+#if (ARCH == ARCH_AVR8) && defined(TWCR)
+
#define __INCLUDE_FROM_TWI_C
#include "../TWI.h"
#define __INCLUDE_FROM_TWI_C
#include "../TWI.h"
@@
-201,3
+204,4
@@
uint8_t TWI_WritePacket(const uint8_t SlaveAddress,
return ErrorCode;
}
return ErrorCode;
}
+#endif