Serial fix

This commit is contained in:
Nico 2015-02-02 21:33:13 +01:00
parent e6642ca0dc
commit 6c05380f83

View file

@ -34,14 +34,14 @@
// location from which to read. // location from which to read.
// NOTE: a "power of 2" buffer size is reccomended to dramatically // NOTE: a "power of 2" buffer size is reccomended to dramatically
// optimize all the modulo operations for ring buffers. // optimize all the modulo operations for ring buffers.
#if !(defined(SERIAL_TX_BUFFER_SIZE) #if !defined(SERIAL_TX_BUFFER_SIZE)
#if (RAMEND < 1000) #if (RAMEND < 1000)
#define SERIAL_TX_BUFFER_SIZE 16 #define SERIAL_TX_BUFFER_SIZE 16
#else #else
#define SERIAL_TX_BUFFER_SIZE 64 #define SERIAL_TX_BUFFER_SIZE 64
#endif #endif
#endif #endif
#if !defined(SERIAL_RX_BUFFER_SIZE)) #if !defined(SERIAL_RX_BUFFER_SIZE)
#if (RAMEND < 1000) #if (RAMEND < 1000)
#define SERIAL_RX_BUFFER_SIZE 16 #define SERIAL_RX_BUFFER_SIZE 16
#else #else