We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 098307d commit 9769bacCopy full SHA for 9769bac
cores/arduino/HardwareSerial_private.h
@@ -99,7 +99,7 @@ void HardwareSerial::_rx_complete_irq(void)
99
// No Parity error, read byte and store it in the buffer if there is
100
// room
101
unsigned char c = *_udr;
102
- uint8_t i = (unsigned int)(_rx_buffer_head + 1) % SERIAL_RX_BUFFER_SIZE;
+ rx_buffer_index_t i = (unsigned int)(_rx_buffer_head + 1) % SERIAL_RX_BUFFER_SIZE;
103
104
// if we should be storing the received character into the location
105
// just before the tail (meaning that the head would advance to the
0 commit comments