Skip to content
Browse files

Fix BSoD for Windows (louismdavis)

  • Loading branch information...
1 parent 65f00a6 commit 70351fc34150b1288079996839082e751b176821 @cmaglie cmaglie committed Nov 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 hardware/arduino/sam/cores/arduino/USB/USBCore.cpp
View
2 hardware/arduino/sam/cores/arduino/USB/USBCore.cpp
@@ -385,7 +385,7 @@ static bool USBD_SendDescriptor(Setup& setup)
if (USB_DEVICE_DESCRIPTOR_TYPE == t)
{
TRACE_CORE(puts("=> USBD_SendDescriptor : USB_DEVICE_DESCRIPTOR_TYPE\r\n");)
- if (setup.wLength >= 8)
+ if (setup.wLength == 8)
{
_cdcComposite = 1;
}

0 comments on commit 70351fc

Please sign in to comment.
Something went wrong with that request. Please try again.