From 86e34b99401679e1790bf8fedc7df13f5f3dd4e3 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Tue, 17 Nov 2015 09:57:04 -0500 Subject: [PATCH] Support receiving a USB CDC SEND_BREAK --- hardware/arduino/sam/cores/arduino/USB/CDC.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hardware/arduino/sam/cores/arduino/USB/CDC.cpp b/hardware/arduino/sam/cores/arduino/USB/CDC.cpp index 306c124ff..9ab8356d9 100644 --- a/hardware/arduino/sam/cores/arduino/USB/CDC.cpp +++ b/hardware/arduino/sam/cores/arduino/USB/CDC.cpp @@ -141,6 +141,11 @@ bool WEAK CDC_Setup(USBSetup& setup) } return true; } + + if (CDC_SEND_BREAK == r) + { + return true; + } } return false; }