From c2a003047377b7356c156afb2fecbf2715a0e012 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Mon, 2 Sep 2013 18:58:28 +0100 Subject: USB serial baud arg type Make USB Serial_::begin() function take an unsigned long argument for consistency with HardwareSerial. Signed-off-by: Paul Brook --- cores/arduino/CDC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores/arduino/CDC.cpp') diff --git a/cores/arduino/CDC.cpp b/cores/arduino/CDC.cpp index 701e483..53f86f8 100644 --- a/cores/arduino/CDC.cpp +++ b/cores/arduino/CDC.cpp @@ -130,7 +130,7 @@ bool WEAK CDC_Setup(Setup& setup) int _serialPeek = -1; -void Serial_::begin(uint16_t baud_count) +void Serial_::begin(unsigned long baud_count) { } -- cgit v1.2.3-18-g5258 From 0ade989a2d6b8408483902533270435d3cb155a4 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Mon, 2 Sep 2013 19:15:12 +0100 Subject: USB CDC two argument begin() Add two argument form of Serial_::begin Signed-off-by: Paul Brook --- cores/arduino/CDC.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cores/arduino/CDC.cpp') diff --git a/cores/arduino/CDC.cpp b/cores/arduino/CDC.cpp index 53f86f8..e1e859d 100644 --- a/cores/arduino/CDC.cpp +++ b/cores/arduino/CDC.cpp @@ -134,6 +134,10 @@ void Serial_::begin(unsigned long baud_count) { } +void Serial_::begin(unsigned long baud_count, byte config) +{ +} + void Serial_::end(void) { } -- cgit v1.2.3-18-g5258