diff options
author | Cristian Maglie <c.maglie@bug.st> | 2014-06-19 17:01:53 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2014-06-19 17:01:53 +0200 |
commit | 55000f4b720984aba2df378cacbf65357c803f26 (patch) | |
tree | f24530a65412362c9df10e66d6a62d858cbd3201 /cores/arduino/CDC.cpp | |
parent | fca64de38731aa111924a5488a3a56d44cf1b3a2 (diff) | |
parent | f599d519967a938a407ad0daa6c39182f389ef91 (diff) |
Merge branch 'master' into ide-1.5.x
Diffstat (limited to 'cores/arduino/CDC.cpp')
-rw-r--r-- | cores/arduino/CDC.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cores/arduino/CDC.cpp b/cores/arduino/CDC.cpp index 1797ed6..bf3d076 100644 --- a/cores/arduino/CDC.cpp +++ b/cores/arduino/CDC.cpp @@ -116,10 +116,12 @@ bool WEAK CDC_Setup(Setup& setup) void Serial_::begin(unsigned long /* baud_count */) { + peek_buffer = -1; } void Serial_::begin(unsigned long /* baud_count */, byte /* config */) { + peek_buffer = -1; } void Serial_::end(void) |