aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBAPI.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2014-06-19 17:01:53 +0200
committerCristian Maglie <c.maglie@bug.st>2014-06-19 17:01:53 +0200
commit55000f4b720984aba2df378cacbf65357c803f26 (patch)
treef24530a65412362c9df10e66d6a62d858cbd3201 /cores/arduino/USBAPI.h
parentfca64de38731aa111924a5488a3a56d44cf1b3a2 (diff)
parentf599d519967a938a407ad0daa6c39182f389ef91 (diff)
Merge branch 'master' into ide-1.5.x
Diffstat (limited to 'cores/arduino/USBAPI.h')
-rw-r--r--cores/arduino/USBAPI.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h
index 3b613d4..7d41ca0 100644
--- a/cores/arduino/USBAPI.h
+++ b/cores/arduino/USBAPI.h
@@ -36,8 +36,9 @@ struct ring_buffer;
class Serial_ : public Stream
{
private:
- int peek_buffer = -1;
+ int peek_buffer;
public:
+ Serial_() { peek_buffer = -1; };
void begin(unsigned long);
void begin(unsigned long, uint8_t);
void end(void);