mirror of https://github.com/noisymime/Arduino.git
Fix CDC Serial buffer size determination
This commit is contained in:
parent
441fd561cf
commit
8a96e75645
|
@ -75,7 +75,7 @@ extern USBDevice_ USBDevice;
|
|||
struct ring_buffer;
|
||||
|
||||
#ifndef SERIAL_BUFFER_SIZE
|
||||
#if (RAMEND < 1000)
|
||||
#if ((RAMEND - RAMSTART) < 1023)
|
||||
#define SERIAL_BUFFER_SIZE 16
|
||||
#else
|
||||
#define SERIAL_BUFFER_SIZE 64
|
||||
|
|
Loading…
Reference in New Issue