Skip to content

Commit 70351fc

Browse files
committed
1 parent 65f00a6 commit 70351fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ static bool USBD_SendDescriptor(Setup& setup)
385385
if (USB_DEVICE_DESCRIPTOR_TYPE == t)
386386
{
387387
TRACE_CORE(puts("=> USBD_SendDescriptor : USB_DEVICE_DESCRIPTOR_TYPE\r\n");)
388-
if (setup.wLength >= 8)
388+
if (setup.wLength == 8)
389389
{
390390
_cdcComposite = 1;
391391
}

0 commit comments

Comments
 (0)