aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cores/arduino/USBAPI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h
index d506b58..753bc6b 100644
--- a/cores/arduino/USBAPI.h
+++ b/cores/arduino/USBAPI.h
@@ -28,7 +28,7 @@ extern USBDevice_ USBDevice;
class Serial_ : public Stream
{
private:
- int peek_buffer;
+ int peek_buffer = -1;
public:
void begin(unsigned long);
void begin(unsigned long, uint8_t);