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:
Paul Brook 2013-09-02 19:15:12 +01:00
parent 1162a45fa8
commit f53fcdd254
2 changed files with 5 additions and 0 deletions

View File

@ -134,6 +134,10 @@ void Serial_::begin(unsigned long baud_count)
{
}
void Serial_::begin(unsigned long baud_count, byte config)
{
}
void Serial_::end(void)
{
}

View File

@ -31,6 +31,7 @@ private:
ring_buffer *_cdc_rx_buffer;
public:
void begin(unsigned long);
void begin(unsigned long, uint8_t);
void end(void);
virtual int available(void);