PaulStoffregen / AltSoftSerial

Software emulated serial using hardware timers for improved compatibility
http://www.pjrc.com/teensy/td_libs_AltSoftSerial.html
328 stars 131 forks source link

TX_BUFFER_SIZE not used for tx_buffer #3

Closed willie68 closed 9 years ago

willie68 commented 9 years ago

I just wan't to minimize the sending buffer for more RAM, because i don't use sending. But nothing happens, than i see this:

#define TX_BUFFER_SIZE 68
static volatile uint8_t tx_buffer[RX_BUFFER_SIZE];

i think it must be

#define TX_BUFFER_SIZE 68
static volatile uint8_t tx_buffer[TX_BUFFER_SIZE];
PaulStoffregen commented 9 years ago

Fixed. Thanks. :)

https://github.com/PaulStoffregen/AltSoftSerial/commit/30f7e6014800a7923824291f6fa1a2ba306f2991