From: Dean Camera Date: Sun, 21 Nov 2010 10:01:01 +0000 (+0000) Subject: Oops - reduce size of each ring buffer in the USBtoSerial and Benito projects so... X-Git-Tag: LUFA-110528-BETA~155 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/3988639823106766afe93b15a446ff197970f104 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). --- diff --git a/Projects/Benito/Lib/LightweightRingBuff.h b/Projects/Benito/Lib/LightweightRingBuff.h index 0205fe467..56da8398f 100644 --- a/Projects/Benito/Lib/LightweightRingBuff.h +++ b/Projects/Benito/Lib/LightweightRingBuff.h @@ -51,7 +51,7 @@ /* Defines: */ /** 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. */ #define RingBuff_Data_t uint8_t diff --git a/Projects/USBtoSerial/Lib/LightweightRingBuff.h b/Projects/USBtoSerial/Lib/LightweightRingBuff.h index 0205fe467..56da8398f 100644 --- a/Projects/USBtoSerial/Lib/LightweightRingBuff.h +++ b/Projects/USBtoSerial/Lib/LightweightRingBuff.h @@ -51,7 +51,7 @@ /* Defines: */ /** 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. */ #define RingBuff_Data_t uint8_t