projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use 16-bit length for TWI driver packet read/write requests for longer transfers.
[pub/lufa.git]
/
LUFA
/
Drivers
/
Peripheral
/
AVR8
/
TWI_AVR8.h
diff --git
a/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h
b/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h
index
9465fe0
..
33bed98
100644
(file)
--- a/
LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h
+++ b/
LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h
@@
-273,7
+273,7
@@
const uint8_t* InternalAddress,
uint8_t InternalAddressLen,
uint8_t* Buffer,
const uint8_t* InternalAddress,
uint8_t InternalAddressLen,
uint8_t* Buffer,
- uint
8
_t Length) ATTR_NON_NULL_PTR_ARG(3);
+ uint
16
_t Length) ATTR_NON_NULL_PTR_ARG(3);
/** High level function to perform a complete packet transfer over the TWI bus from the specified
* device.
/** High level function to perform a complete packet transfer over the TWI bus from the specified
* device.
@@
-292,7
+292,7
@@
const uint8_t* InternalAddress,
uint8_t InternalAddressLen,
const uint8_t* Buffer,
const uint8_t* InternalAddress,
uint8_t InternalAddressLen,
const uint8_t* Buffer,
- uint
8
_t Length) ATTR_NON_NULL_PTR_ARG(3);
+ uint
16
_t Length) ATTR_NON_NULL_PTR_ARG(3);
/* Disable C linkage for C++ Compilers: */
#if defined(__cplusplus)
/* Disable C linkage for C++ Compilers: */
#if defined(__cplusplus)