Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial projects, so that they should never become full under normal conditions.

pull/1469/head
Dean Camera 15 years ago
parent 4b952d479a
commit ad29e79b94

@ -44,7 +44,7 @@
/* Defines: */ /* Defines: */
/** Size of each ring buffer, in data elements - must be between 1 and 255. */ /** 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. */ /** Type of data to store into the buffer. */
#define RingBuff_Data_t uint8_t #define RingBuff_Data_t uint8_t

@ -44,7 +44,7 @@
/* Defines: */ /* Defines: */
/** Size of each ring buffer, in data elements - must be between 1 and 255. */ /** 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. */ /** Type of data to store into the buffer. */
#define RingBuff_Data_t uint8_t #define RingBuff_Data_t uint8_t

@ -44,7 +44,7 @@
/* Defines: */ /* Defines: */
/** Size of each ring buffer, in data elements - must be between 1 and 255. */ /** 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. */ /** Type of data to store into the buffer. */
#define RingBuff_Data_t uint8_t #define RingBuff_Data_t uint8_t

Loading…
Cancel
Save