Skip to content

Commit 289a393

Browse files
authored
feat (HWCDC) : port 2.0.15
Changed header for a few functions.
1 parent a565f39 commit 289a393

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cores/esp32/HWCDC.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,7 @@ class HWCDC : public Stream {
7070
size_t write(const uint8_t *buffer, size_t size);
7171
void flush(void);
7272

73-
inline static bool isPlugged(void) {
74-
return usb_serial_jtag_is_connected();
75-
}
76-
73+
static bool isPlugged(void);
7774
inline static bool isConnected(void) {
7875
return isCDC_Connected();
7976
}

0 commit comments

Comments
 (0)