aboutsummaryrefslogtreecommitdiff
path: root/cores
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-09-30 16:25:10 +0200
committerCristian Maglie <c.maglie@bug.st>2013-09-30 16:25:10 +0200
commitd7ed6ec3617460b5d6677581ddcc948467446f63 (patch)
tree05e4946ee42d145a6283197d8f091d9da5e5c873 /cores
parentacc20676276dd3a59c2f71da87cc8029b9f2a241 (diff)
parent0ade989a2d6b8408483902533270435d3cb155a4 (diff)
Merge branch 'master' into ide-1.5.x
Diffstat (limited to 'cores')
-rw-r--r--cores/arduino/CDC.cpp6
-rw-r--r--cores/arduino/USBAPI.h3
2 files changed, 7 insertions, 2 deletions
diff --git a/cores/arduino/CDC.cpp b/cores/arduino/CDC.cpp
index fb25a96..a691306 100644
--- a/cores/arduino/CDC.cpp
+++ b/cores/arduino/CDC.cpp
@@ -115,7 +115,11 @@ bool WEAK CDC_Setup(Setup& setup)
int _serialPeek = -1;
-void Serial_::begin(uint16_t baud_count)
+void Serial_::begin(unsigned long baud_count)
+{
+}
+
+void Serial_::begin(unsigned long baud_count, byte config)
{
}
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h
index cabecf3..da2e869 100644
--- a/cores/arduino/USBAPI.h
+++ b/cores/arduino/USBAPI.h
@@ -36,7 +36,8 @@ struct ring_buffer;
class Serial_ : public Stream
{
public:
- void begin(uint16_t baud_count);
+ void begin(unsigned long);
+ void begin(unsigned long, uint8_t);
void end(void);
virtual int available(void);