aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Benito/Lib/LightweightRingBuff.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-11-21 10:01:01 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-11-21 10:01:01 +0000
commit3988639823106766afe93b15a446ff197970f104 (patch)
treef84d4c3af544fcdc7a995660c8440324973d779d /Projects/Benito/Lib/LightweightRingBuff.h
parent8f981b5f38b22f1a49fdec9ff5d09ac982cd71f3 (diff)
downloadlufa-3988639823106766afe93b15a446ff197970f104.tar.gz
lufa-3988639823106766afe93b15a446ff197970f104.tar.bz2
lufa-3988639823106766afe93b15a446ff197970f104.zip
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).
Diffstat (limited to 'Projects/Benito/Lib/LightweightRingBuff.h')
-rw-r--r--Projects/Benito/Lib/LightweightRingBuff.h2
1 files changed, 1 insertions, 1 deletions
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