aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/Misc/RingBuffer.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-10-18 11:23:23 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-10-18 11:23:23 +0000
commit7281e2b4e6bb0082c7d17f9d2c6bf6fa4d53c0fd (patch)
tree32ca247b3b7abf59bd2c229a5a44ce0037b7cbf8 /LUFA/Drivers/Misc/RingBuffer.h
parent777642c733447261cec46ddf708329e84ae3e6ec (diff)
Fixed ring buffer size limited to 255 elements, instead of the intended 65535 elements.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1948 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Drivers/Misc/RingBuffer.h')
-rw-r--r--LUFA/Drivers/Misc/RingBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/Misc/RingBuffer.h b/LUFA/Drivers/Misc/RingBuffer.h
index 3c555214..5b509b60 100644
--- a/LUFA/Drivers/Misc/RingBuffer.h
+++ b/LUFA/Drivers/Misc/RingBuffer.h
@@ -113,7 +113,7 @@
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 Size; /**< Size of the buffer's underlying storage array. */
uint16_t Count; /**< Number of bytes currently stored in the buffer. */
} RingBuffer_t;