aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBAPI.h
diff options
context:
space:
mode:
authorPaul Brook <paul@nowt.org>2013-09-02 18:58:28 +0100
committerPaul Brook <paul@nowt.org>2013-09-02 19:02:55 +0100
commitc2a003047377b7356c156afb2fecbf2715a0e012 (patch)
tree73e3de0eff7ba30f62de08c2b1be10d2ae2ff60e /cores/arduino/USBAPI.h
parentaaaa2c3ab66ebb273338a15cc2a220b90cf3c0bd (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/USBAPI.h')
-rw-r--r--cores/arduino/USBAPI.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h
index eb2e593..d138a0e 100644
--- a/cores/arduino/USBAPI.h
+++ b/cores/arduino/USBAPI.h
@@ -30,7 +30,7 @@ class Serial_ : public Stream
private:
ring_buffer *_cdc_rx_buffer;
public:
- void begin(uint16_t baud_count);
+ void begin(unsigned long);
void end(void);
virtual int available(void);
@@ -193,4 +193,4 @@ void USB_Flush(uint8_t ep);
#endif
-#endif /* if defined(USBCON) */ \ No newline at end of file
+#endif /* if defined(USBCON) */