Skip to content

Commit 5ae2539

Browse files
committed
Support receiving a USB CDC SEND_BREAK
1 parent 17c298f commit 5ae2539

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

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)