diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-13 21:27:24 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-13 21:27:24 +0000 |
commit | 0019fbd1294ccc9ecb0ac4ddb5d8c71efcf9597f (patch) | |
tree | ab85bdd239b9df645d4ef95e6518ca25661c2515 /LUFA/Drivers/Misc | |
parent | 272d446d3242f1d449447a91cdc1f7516ffe964f (diff) | |
download | lufa-0019fbd1294ccc9ecb0ac4ddb5d8c71efcf9597f.tar.gz lufa-0019fbd1294ccc9ecb0ac4ddb5d8c71efcf9597f.tar.bz2 lufa-0019fbd1294ccc9ecb0ac4ddb5d8c71efcf9597f.zip |
Add more const-ness to the stream endpoint/pipe functions where possible.
Diffstat (limited to 'LUFA/Drivers/Misc')
-rw-r--r-- | LUFA/Drivers/Misc/RingBuffer.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/LUFA/Drivers/Misc/RingBuffer.h b/LUFA/Drivers/Misc/RingBuffer.h index 9319f11e9..dd34e99ca 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: */
|