aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBAPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/USBAPI.h')
-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 c637fda..3b613d4 100644
--- a/cores/arduino/USBAPI.h
+++ b/cores/arduino/USBAPI.h
@@ -36,7 +36,7 @@ struct ring_buffer;
class Serial_ : public Stream
{
private:
- int peek_buffer;
+ int peek_buffer = -1;
public:
void begin(unsigned long);
void begin(unsigned long, uint8_t);