Skip to content

Commit

Permalink
I forgot a file
Browse files Browse the repository at this point in the history
  • Loading branch information
jantje committed Apr 1, 2014
1 parent a51e1c4 commit 77187ad
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -99,7 +99,7 @@ void HardwareSerial::_rx_complete_irq(void)
// No Parity error, read byte and store it in the buffer if there is
// room
unsigned char c = *_udr;
uint8_t i = (unsigned int)(_rx_buffer_head + 1) % SERIAL_BUFFER_SIZE;
uint8_t i = (unsigned int)(_rx_buffer_head + 1) % SERIAL_RX_BUFFER_SIZE;

// if we should be storing the received character into the location
// just before the tail (meaning that the head would advance to the
Expand Down

0 comments on commit 77187ad

Please sign in to comment.