Serial fix
This commit is contained in:
parent
e6642ca0dc
commit
6c05380f83
1 changed files with 2 additions and 2 deletions
|
|
@ -34,14 +34,14 @@
|
|||
// location from which to read.
|
||||
// NOTE: a "power of 2" buffer size is reccomended to dramatically
|
||||
// optimize all the modulo operations for ring buffers.
|
||||
#if !(defined(SERIAL_TX_BUFFER_SIZE)
|
||||
#if !defined(SERIAL_TX_BUFFER_SIZE)
|
||||
#if (RAMEND < 1000)
|
||||
#define SERIAL_TX_BUFFER_SIZE 16
|
||||
#else
|
||||
#define SERIAL_TX_BUFFER_SIZE 64
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(SERIAL_RX_BUFFER_SIZE))
|
||||
#if !defined(SERIAL_RX_BUFFER_SIZE)
|
||||
#if (RAMEND < 1000)
|
||||
#define SERIAL_RX_BUFFER_SIZE 16
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue