We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f0d5fe commit 1162a45Copy full SHA for 1162a45
hardware/arduino/cores/arduino/CDC.cpp
@@ -130,7 +130,7 @@ bool WEAK CDC_Setup(Setup& setup)
130
131
132
int _serialPeek = -1;
133
-void Serial_::begin(uint16_t baud_count)
+void Serial_::begin(unsigned long baud_count)
134
{
135
}
136
hardware/arduino/cores/arduino/USBAPI.h
@@ -30,7 +30,7 @@ class Serial_ : public Stream
30
private:
31
ring_buffer *_cdc_rx_buffer;
32
public:
33
- void begin(uint16_t baud_count);
+ void begin(unsigned long);
34
void end(void);
35
36
virtual int available(void);
@@ -193,4 +193,4 @@ void USB_Flush(uint8_t ep);
193
194
#endif
195
196
-#endif /* if defined(USBCON) */
+#endif /* if defined(USBCON) */
0 commit comments