Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 77187ad

Browse files
committed
I forgot a file
1 parent a51e1c4 commit 77187ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎hardware/arduino/avr/cores/arduino/HardwareSerial_private.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void HardwareSerial::_rx_complete_irq(void)
9999
// No Parity error, read byte and store it in the buffer if there is
100100
// room
101101
unsigned char c = *_udr;
102-
uint8_t i = (unsigned int)(_rx_buffer_head + 1) % SERIAL_BUFFER_SIZE;
102+
uint8_t i = (unsigned int)(_rx_buffer_head + 1) % SERIAL_RX_BUFFER_SIZE;
103103

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /