Skip to content

Commit 86e34b9

Browse files
committed
Support receiving a USB CDC SEND_BREAK
1 parent 2007b62 commit 86e34b9

File tree

1 file changed

+5
-0
lines changed
  • hardware/arduino/sam/cores/arduino/USB

1 file changed

+5
-0
lines changed

hardware/arduino/sam/cores/arduino/USB/CDC.cpp

+5
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)