mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Fix BSoD for Windows (louismdavis)
http://arduino.cc/forum/index.php/topic,129869.0.html
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user