Skip to content

Commit 604668f

Browse files
committed
Support receiving a USB CDC SEND_BREAK
1 parent 76d0ae0 commit 604668f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cores/arduino/USB/CDC.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ bool WEAK CDC_Setup(USBSetup& setup)
141141
}
142142
return true;
143143
}
144+
145+
if (CDC_SEND_BREAK == r)
146+
{
147+
return true;
148+
}
144149
}
145150
return false;
146151
}

0 commit comments

Comments
 (0)