aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
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
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')
-rw-r--r--Projects/Benito/Lib/LightweightRingBuff.h2
-rw-r--r--Projects/USBtoSerial/Lib/LightweightRingBuff.h2
2 files changed, 2 insertions, 2 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
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