projects
/
pub
/
lufa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b095177
)
Fix ring buffer example.
author
László Monda
<laci@monda.hu>
Sat, 1 Feb 2014 19:48:33 +0000
(20:48 +0100)
committer
László Monda
<laci@monda.hu>
Sat, 1 Feb 2014 19:48:33 +0000
(20:48 +0100)
LUFA/Drivers/Misc/RingBuffer.h
patch
|
blob
|
blame
|
history
diff --git
a/LUFA/Drivers/Misc/RingBuffer.h
b/LUFA/Drivers/Misc/RingBuffer.h
index
97648c8
..
68fdb8e
100644
(file)
--- 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_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);
*
* // Cache the number of stored bytes in the buffer
* uint16_t BufferCount = RingBuffer_GetCount(&Buffer);