Skip to content
Snippets Groups Projects
Commit 39886398 authored by Dean Camera's avatar Dean Camera
Browse files

Oops - reduce size of each ring buffer in the USBtoSerial and Benito projects...

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).
parent 8f981b5f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment