diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2012-02-03 19:54:33 -0500 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2012-02-03 19:54:33 -0500 |
commit | a794f295e03afe2a9b1ed4534ffa4f4a827e5cd9 (patch) | |
tree | 57c99f987f2f3c954ee04d21f31b7cdf0c2af59d /cores/arduino/HardwareSerial.cpp | |
parent | 45d3b102956c74f837eb0297af45939ca46b09a0 (diff) | |
parent | e1438efb3a6d538ae3fd0e2037ec2b112aa1c563 (diff) |
Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
Diffstat (limited to 'cores/arduino/HardwareSerial.cpp')
-rw-r--r-- | cores/arduino/HardwareSerial.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/HardwareSerial.cpp b/cores/arduino/HardwareSerial.cpp index 1b1fa71..9985b78 100644 --- a/cores/arduino/HardwareSerial.cpp +++ b/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) |