diff options
author | Paul Brook <paul@nowt.org> | 2013-09-02 18:58:28 +0100 |
---|---|---|
committer | Paul Brook <paul@nowt.org> | 2013-09-02 19:02:55 +0100 |
commit | c2a003047377b7356c156afb2fecbf2715a0e012 (patch) | |
tree | 73e3de0eff7ba30f62de08c2b1be10d2ae2ff60e /cores/arduino/CDC.cpp | |
parent | aaaa2c3ab66ebb273338a15cc2a220b90cf3c0bd (diff) |
USB serial baud arg type
Make USB Serial_::begin() function take an unsigned long argument for
consistency with HardwareSerial.
Signed-off-by: Paul Brook <paul@nowt.org>
Diffstat (limited to 'cores/arduino/CDC.cpp')
-rw-r--r-- | cores/arduino/CDC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { } |