diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-08-19 04:11:38 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-08-19 04:11:38 +0000 |
commit | af725dd418b8b1e5bf7fa3dff6ae016f284e5159 (patch) | |
tree | 6fb3c74d2ebadb69102e50a5ce50d3c69e6e338e | |
parent | 9708b45e693dcfc3119360d555be3b382d2ba9fe (diff) | |
download | lufa-af725dd418b8b1e5bf7fa3dff6ae016f284e5159.tar.gz lufa-af725dd418b8b1e5bf7fa3dff6ae016f284e5159.tar.bz2 lufa-af725dd418b8b1e5bf7fa3dff6ae016f284e5159.zip |
Fix TWI peripheral driver example code in the library documentation.
-rw-r--r-- | LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h b/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h index df63b6ad7..c35499eff 100644 --- a/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h +++ b/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.h @@ -99,14 +99,14 @@ * uint8_t WritePacket[3] = {0x01, 0x02, 0x03}; * * TWI_WritePacket(0xA0, 10, &InternalWriteAddress, sizeof(InternalWriteAddress), - * &WritePacket, sizeof(WritePacket); + * WritePacket, sizeof(WritePacket); * * // Start a read session to device at address 0xA0, internal address 0xDC with a 10ms timeout * uint8_t InternalReadAddress = 0xDC; * uint8_t ReadPacket[3]; * * TWI_ReadPacket(0xA0, 10, &InternalReadAddress, sizeof(InternalReadAddress), - * &ReadPacket, sizeof(ReadPacket); + * ReadPacket, sizeof(ReadPacket); * \endcode * * @{ |