1
0
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:
Nico 2015-09-20 11:08:49 +02:00
parent 441fd561cf
commit 8a96e75645

View File

@ -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