diff --git a/cores/arduino/USB/CDC.cpp b/cores/arduino/USB/CDC.cpp index 77aa6832a..8d6c6f4b8 100644 --- a/cores/arduino/USB/CDC.cpp +++ b/cores/arduino/USB/CDC.cpp @@ -196,12 +196,12 @@ void Serial_::enableInterrupt() { usbd.epBank0EnableTransferComplete(CDC_ENDPOINT_OUT); } -void Serial_::begin(uint32_t /* baud_count */) +void Serial_::begin(unsigned long /* baudrate */) { // uart config is ignored in USB-CDC } -void Serial_::begin(uint32_t /* baud_count */, uint16_t /* config */) +void Serial_::begin(unsigned long /* baudrate */, uint16_t /* config */) { // uart config is ignored in USB-CDC } diff --git a/cores/arduino/USB/USBAPI.h b/cores/arduino/USB/USBAPI.h index cfd3eb856..b06b5e56e 100644 --- a/cores/arduino/USB/USBAPI.h +++ b/cores/arduino/USB/USBAPI.h @@ -101,8 +101,8 @@ class Serial_ : public arduino::HardwareSerial, arduino::PluggableUSBModule { public: Serial_(USBDeviceClass &_usb); - void begin(uint32_t baud_count); - void begin(unsigned long, uint16_t); + void begin(unsigned long baudrate); + void begin(unsigned long baudrate, uint16_t config); void end(void); virtual int available(void); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy