mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
USB CDC two argument begin()
Add two argument form of Serial_::begin Signed-off-by: Paul Brook <paul@nowt.org>
This commit is contained in:
@ -134,6 +134,10 @@ void Serial_::begin(unsigned long baud_count)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Serial_::begin(unsigned long baud_count, byte config)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void Serial_::end(void)
|
void Serial_::end(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -31,6 +31,7 @@ private:
|
|||||||
ring_buffer *_cdc_rx_buffer;
|
ring_buffer *_cdc_rx_buffer;
|
||||||
public:
|
public:
|
||||||
void begin(unsigned long);
|
void begin(unsigned long);
|
||||||
|
void begin(unsigned long, uint8_t);
|
||||||
void end(void);
|
void end(void);
|
||||||
|
|
||||||
virtual int available(void);
|
virtual int available(void);
|
||||||
|
Reference in New Issue
Block a user