aboutsummaryrefslogtreecommitdiff
path: root/libraries/SoftwareSerial/src/SoftwareSerial.cpp
diff options
context:
space:
mode:
authorArturo Guadalupi <a.guadalupi@arduino.cc>2016-03-31 15:03:55 +0200
committerArturo Guadalupi <a.guadalupi@arduino.cc>2016-03-31 15:03:55 +0200
commit9eac8362743c27e16bed3ca4ca74bd7e84a5348b (patch)
tree577a0d35eb4c0d0775017eca5ef6c3a9c520779b /libraries/SoftwareSerial/src/SoftwareSerial.cpp
parent48d574b9f060faf2fac7f8dd897b1ddd17dadebe (diff)
parent422b6f9bb797fc59e12ad95171ca037629ed9b14 (diff)
Merge pull request #4669 from sandeepmistry/software-serial-peek-cast
Add missing cast to SoftwareSerial::peek() when returning buffered value
Diffstat (limited to 'libraries/SoftwareSerial/src/SoftwareSerial.cpp')
-rw-r--r--libraries/SoftwareSerial/src/SoftwareSerial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/SoftwareSerial/src/SoftwareSerial.cpp b/libraries/SoftwareSerial/src/SoftwareSerial.cpp
index 0a16ff7..376762e 100644
--- a/libraries/SoftwareSerial/src/SoftwareSerial.cpp
+++ b/libraries/SoftwareSerial/src/SoftwareSerial.cpp
@@ -48,7 +48,7 @@ http://arduiniana.org.
// Statics
//
SoftwareSerial *SoftwareSerial::active_object = 0;
-char SoftwareSerial::_receive_buffer[_SS_MAX_RX_BUFF];
+uint8_t SoftwareSerial::_receive_buffer[_SS_MAX_RX_BUFF];
volatile uint8_t SoftwareSerial::_receive_buffer_tail = 0;
volatile uint8_t SoftwareSerial::_receive_buffer_head = 0;