Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Showing with 2 additions and 2 deletions.
  1. +2 −2 hardware/arduino/cores/arduino/HardwareSerial.cpp
View
4 hardware/arduino/cores/arduino/HardwareSerial.cpp
@@ -46,8 +46,8 @@
struct ring_buffer
{
unsigned char buffer[SERIAL_BUFFER_SIZE];
- volatile int head;
- volatile int tail;
+ volatile unsigned int head;
+ volatile unsigned int tail;
};
#if defined(USBCON)
Please sign in to comment.
Something went wrong with that request. Please try again.