Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SuGlider committed Oct 23, 2023
1 parent fa6fb2f commit 80f050f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cores/esp32/HWCDC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ void HWCDC::setDebugOutput(bool en)
}

#if ARDUINO_USB_MODE // Hardware JTAG CDC selected
// USBSerial is always available to used
// USBSerial is always available to be used
HWCDC USBSerial;
#endif

Expand Down
2 changes: 1 addition & 1 deletion cores/esp32/HWCDC.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class HWCDC: public Stream
// When using CDC on Boot, Arduino Serial is the USB device
#define Serial USBSerial
#endif
// USBSerial is always available to used
// USBSerial is always available to be used
extern HWCDC USBSerial;
#endif

Expand Down
2 changes: 1 addition & 1 deletion cores/esp32/USBCDC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ USBCDC::operator bool() const
}

#if !ARDUINO_USB_MODE // Native USB CDC selected
// USBSerial is always available to used
// USBSerial is always available to be used
USBCDC USBSerial;
#endif

Expand Down
4 changes: 2 additions & 2 deletions cores/esp32/USBCDC.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ class USBCDC: public Stream
// When using CDC on Boot, Arduino Serial is the USB device
#define Serial USBSerial
#endif
// USBSerial is always available to used
extern USBCDC USBSerial;
// USBSerial is always available to be used
extern USBCDC USBSerial(0);
#endif

#endif /* CONFIG_TINYUSB_CDC_ENABLED */
Expand Down

0 comments on commit 80f050f

Please sign in to comment.