Skip to content

Commit

Permalink
Update USBAPI.h
Browse files Browse the repository at this point in the history
Fixes bug where Serial.read() would always return 0 as the first byte.
  • Loading branch information
embmicro committed Jun 10, 2014
1 parent 09d0843 commit 9ac7e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/arduino/cores/arduino/USBAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9ac7e30

Please sign in to comment.