Fix CDC Serial buffer size determination

This commit is contained in:
Nico 2015-09-20 11:08:49 +02:00
parent edcfdba42d
commit 7f2ca6ee28
1 changed files with 1 additions and 1 deletions

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