Oops - reduce size of each ring buffer in the USBtoSerial and Benito projects so that the RAM is not overflowed on the smaller USB AVR targets (thanks to Andrei from Microsin.ru).

pull/1469/head
Dean Camera 14 years ago
parent 8f981b5f38
commit 3988639823

@ -51,7 +51,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 255 #define BUFFER_SIZE 128
/** 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

@ -51,7 +51,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 255 #define BUFFER_SIZE 128
/** 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