Skip to content

Commit d7ed6ec

Browse files
committed
Merge branch 'master' into ide-1.5.x
2 parents acc2067 + 0ade989 commit d7ed6ec

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

cores/arduino/CDC.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,11 @@ bool WEAK CDC_Setup(Setup& setup)
115115

116116

117117
int _serialPeek = -1;
118-
void Serial_::begin(uint16_t baud_count)
118+
void Serial_::begin(unsigned long baud_count)
119+
{
120+
}
121+
122+
void Serial_::begin(unsigned long baud_count, byte config)
119123
{
120124
}
121125

cores/arduino/USBAPI.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ struct ring_buffer;
3636
class Serial_ : public Stream
3737
{
3838
public:
39-
void begin(uint16_t baud_count);
39+
void begin(unsigned long);
40+
void begin(unsigned long, uint8_t);
4041
void end(void);
4142

4243
virtual int available(void);

0 commit comments

Comments
 (0)