diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-10-18 11:23:23 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-10-18 11:23:23 +0000 |
commit | 738c9203fccfdcd11e4fc5bcb3ca4d102d15e1cd (patch) | |
tree | 32ca247b3b7abf59bd2c229a5a44ce0037b7cbf8 /LUFA | |
parent | c6d6bdae0a6fa5604174428787ff3c415ca73fad (diff) | |
download | lufa-738c9203fccfdcd11e4fc5bcb3ca4d102d15e1cd.tar.gz lufa-738c9203fccfdcd11e4fc5bcb3ca4d102d15e1cd.tar.bz2 lufa-738c9203fccfdcd11e4fc5bcb3ca4d102d15e1cd.zip |
Fixed ring buffer size limited to 255 elements, instead of the intended 65535 elements.
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Drivers/Misc/RingBuffer.h | 2 | ||||
-rw-r--r-- | LUFA/ManPages/ChangeLog.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/Misc/RingBuffer.h b/LUFA/Drivers/Misc/RingBuffer.h index 3c5552143..5b509b605 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; diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 1b3003f80..4bb153ce8 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -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) * |