From: Dean Camera Date: Thu, 24 Jun 2010 07:42:18 +0000 (+0000) Subject: Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial projects... X-Git-Tag: LUFA-110528-BETA~376 X-Git-Url: http://git.linex4red.de/pub/lufa.git/commitdiff_plain/ad29e79b944bbca136290c47869dfc30af676e7f Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial projects, so that they should never become full under normal conditions. --- diff --git a/Projects/Benito/Lib/LightweightRingBuff.h b/Projects/Benito/Lib/LightweightRingBuff.h index 55af753c0..1dc05935c 100644 --- a/Projects/Benito/Lib/LightweightRingBuff.h +++ b/Projects/Benito/Lib/LightweightRingBuff.h @@ -44,7 +44,7 @@ /* Defines: */ /** Size of each ring buffer, in data elements - must be between 1 and 255. */ - #define BUFFER_SIZE 128 + #define BUFFER_SIZE 255 /** Type of data to store into the buffer. */ #define RingBuff_Data_t uint8_t diff --git a/Projects/USBtoSerial/Lib/LightweightRingBuff.h b/Projects/USBtoSerial/Lib/LightweightRingBuff.h index 55af753c0..1dc05935c 100644 --- a/Projects/USBtoSerial/Lib/LightweightRingBuff.h +++ b/Projects/USBtoSerial/Lib/LightweightRingBuff.h @@ -44,7 +44,7 @@ /* Defines: */ /** Size of each ring buffer, in data elements - must be between 1 and 255. */ - #define BUFFER_SIZE 128 + #define BUFFER_SIZE 255 /** Type of data to store into the buffer. */ #define RingBuff_Data_t uint8_t diff --git a/Projects/XPLAINBridge/Lib/LightweightRingBuff.h b/Projects/XPLAINBridge/Lib/LightweightRingBuff.h index 55af753c0..1dc05935c 100644 --- a/Projects/XPLAINBridge/Lib/LightweightRingBuff.h +++ b/Projects/XPLAINBridge/Lib/LightweightRingBuff.h @@ -44,7 +44,7 @@ /* Defines: */ /** Size of each ring buffer, in data elements - must be between 1 and 255. */ - #define BUFFER_SIZE 128 + #define BUFFER_SIZE 255 /** Type of data to store into the buffer. */ #define RingBuff_Data_t uint8_t