From ad29e79b944bbca136290c47869dfc30af676e7f Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Thu, 24 Jun 2010 07:42:18 +0000
Subject: [PATCH] Maximise the size of the ring buffers in the
 Benito/XPLAINBridge/USBtoSerial projects, so that they should never become
 full under normal conditions.

---
 Projects/Benito/Lib/LightweightRingBuff.h       | 2 +-
 Projects/USBtoSerial/Lib/LightweightRingBuff.h  | 2 +-
 Projects/XPLAINBridge/Lib/LightweightRingBuff.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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
-- 
GitLab