1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Fix BSoD for Windows (louismdavis)

http://arduino.cc/forum/index.php/topic,129869.0.html
This commit is contained in:
Cristian Maglie
2012-11-19 23:44:06 +01:00
parent 65f00a69c7
commit 70351fc341

View File

@ -385,7 +385,7 @@ static bool USBD_SendDescriptor(Setup& setup)
if (USB_DEVICE_DESCRIPTOR_TYPE == t) if (USB_DEVICE_DESCRIPTOR_TYPE == t)
{ {
TRACE_CORE(puts("=> USBD_SendDescriptor : USB_DEVICE_DESCRIPTOR_TYPE\r\n");) TRACE_CORE(puts("=> USBD_SendDescriptor : USB_DEVICE_DESCRIPTOR_TYPE\r\n");)
if (setup.wLength >= 8) if (setup.wLength == 8)
{ {
_cdcComposite = 1; _cdcComposite = 1;
} }