Skip to content

Commit 52da230

Browse files
authored
feat(hwcdc): fix delay
Fixes delay when CDC is disconnected. At this time is only fixes it when USB cable is unplugged.
1 parent b7af090 commit 52da230

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cores/esp32/HWCDC.h

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class HWCDC: public Stream
4646
{
4747
private:
4848
static bool deinit(void * busptr);
49+
static bool isCDC_Connected();
4950

5051
public:
5152
HWCDC();

0 commit comments

Comments
 (0)