mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
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…
x
Reference in New Issue
Block a user