Skip to content

Commit

Permalink
Fixed bug which occured after another "fix"
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoHood committed Feb 3, 2015
1 parent e6642ca commit 6f3996e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avr/cores/hid/HardwareSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f3996e

Please sign in to comment.