We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77187ad commit 1ad74ceCopy full SHA for 1ad74ce
hardware/arduino/avr/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