From f599d519967a938a407ad0daa6c39182f389ef91 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Thu, 19 Jun 2014 16:52:48 +0200 Subject: Fixed regression in USBAPI and CDC (xaljox) See: https://github.com/arduino/Arduino/commit/9ac7e30252fce5b9dafde3288519b020b73c37bd#commitcomment-6718676 --- cores/arduino/USBAPI.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cores/arduino/USBAPI.h') diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h index 753bc6b..4846fc2 100644 --- a/cores/arduino/USBAPI.h +++ b/cores/arduino/USBAPI.h @@ -28,8 +28,9 @@ extern USBDevice_ USBDevice; 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); -- cgit v1.2.3-18-g5258