diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2014-02-16 17:21:54 +1100 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2014-02-16 17:21:54 +1100 |
commit | aaef4fa84c954027e1f4488bfeb38787331d41ed (patch) | |
tree | ce4e71f8fa1a8dfbf935457e7156832089c82509 | |
parent | 9dc7e68d76d338a3d15437a5a6c8ec5ce4fb3c64 (diff) | |
parent | c49d4af4493f39e6f9f62f7b91d2cbe75be5e8fe (diff) | |
download | lufa-aaef4fa84c954027e1f4488bfeb38787331d41ed.tar.gz lufa-aaef4fa84c954027e1f4488bfeb38787331d41ed.tar.bz2 lufa-aaef4fa84c954027e1f4488bfeb38787331d41ed.zip |
Merge branch 'master' of github.com:abcminiuser/lufa
-rw-r--r-- | LUFA/Drivers/Misc/RingBuffer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/LUFA/Drivers/Misc/RingBuffer.h b/LUFA/Drivers/Misc/RingBuffer.h index 97648c806..68fdb8e92 100644 --- a/LUFA/Drivers/Misc/RingBuffer.h +++ b/LUFA/Drivers/Misc/RingBuffer.h @@ -70,11 +70,11 @@ * RingBuffer_InitBuffer(&Buffer, BufferData, sizeof(BufferData)); * * // Insert some data into the buffer - * RingBuffer_Insert(Buffer, 'H'); - * RingBuffer_Insert(Buffer, 'E'); - * RingBuffer_Insert(Buffer, 'L'); - * RingBuffer_Insert(Buffer, 'L'); - * RingBuffer_Insert(Buffer, 'O'); + * RingBuffer_Insert(&Buffer, 'H'); + * RingBuffer_Insert(&Buffer, 'E'); + * RingBuffer_Insert(&Buffer, 'L'); + * RingBuffer_Insert(&Buffer, 'L'); + * RingBuffer_Insert(&Buffer, 'O'); * * // Cache the number of stored bytes in the buffer * uint16_t BufferCount = RingBuffer_GetCount(&Buffer); |