aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/Misc/RingBuffer.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-02-13 21:27:24 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-02-13 21:27:24 +0000
commit20c6ad62c9dd9608d62eda329f20ce3ff9a43ebd (patch)
treeab85bdd239b9df645d4ef95e6518ca25661c2515 /LUFA/Drivers/Misc/RingBuffer.h
parent97c30f731ddad06f7884730d02538c7d5ae05829 (diff)
Add more const-ness to the stream endpoint/pipe functions where possible.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1664 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Drivers/Misc/RingBuffer.h')
-rw-r--r--LUFA/Drivers/Misc/RingBuffer.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/LUFA/Drivers/Misc/RingBuffer.h b/LUFA/Drivers/Misc/RingBuffer.h
index 9319f11e..dd34e99c 100644
--- a/LUFA/Drivers/Misc/RingBuffer.h
+++ b/LUFA/Drivers/Misc/RingBuffer.h
@@ -107,12 +107,12 @@
*/
typedef struct
{
- uint8_t* In; /**< Current storage location in the circular buffer */
- uint8_t* Out; /**< Current retrieval location in the circular buffer */
- uint8_t* Start; /**< Pointer to the start of the buffer's underlying storage array */
- uint8_t* End; /**< Pointer to the end of the buffer's underlying storage array */
- uint8_t Size; /**< Size of the buffer's underlying storage array */
- uint16_t Count; /**< Number of bytes currently stored in the buffer */
+ uint8_t* In; /**< Current storage location in the circular buffer. */
+ uint8_t* Out; /**< Current retrieval location in the circular buffer. */
+ uint8_t* Start; /**< Pointer to the start of the buffer's underlying storage array. */
+ uint8_t* End; /**< Pointer to the end of the buffer's underlying storage array. */
+ uint8_t Size; /**< Size of the buffer's underlying storage array. */
+ uint16_t Count; /**< Number of bytes currently stored in the buffer. */
} RingBuffer_t;
/* Inline Functions: */