Fixed ring buffer size limited to 255 elements, instead of the intended 65535 elements.
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 18 Oct 2011 11:23:23 +0000 (11:23 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 18 Oct 2011 11:23:23 +0000 (11:23 +0000)
LUFA/Drivers/Misc/RingBuffer.h
LUFA/ManPages/ChangeLog.txt

index 3c55521..5b509b6 100644 (file)
                        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;
 
index 1b3003f..4bb153c 100644 (file)
@@ -22,7 +22,7 @@
   *
   *  <b>Fixed:</b>
   *  - Core:
-  *   - None
+  *   - Fixed ring buffer size limited to 255 elements, instead of the intended 65535 elements.
   *  - Library Applications:
   *   - Added reliability patches to the AVRISP-MKII Clone project's PDI/TPI protocols (thanks to Justin Mattair)
   *