From 3988639823106766afe93b15a446ff197970f104 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 21 Nov 2010 10:01:01 +0000 Subject: [PATCH] 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). --- Projects/Benito/Lib/LightweightRingBuff.h | 2 +- Projects/USBtoSerial/Lib/LightweightRingBuff.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Projects/Benito/Lib/LightweightRingBuff.h b/Projects/Benito/Lib/LightweightRingBuff.h index 0205fe467b..56da8398f1 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 0205fe467b..56da8398f1 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