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
b77aa08
..
495744b
100644
(file)
--- a/
LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c
+++ b/
LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c
@@
-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
@@
-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