Re-added Set Control Line State request handling to the CDC class bootloader.

This commit is contained in:
Dean Camera committed 2013-06-27 20:03:51 +02:00
1 parent 8bcc38aa32
commit f0c72df674
3 files changed
+12 -1

No files matched your search

+8
View File
@@ -223,6 +223,14 @@ void EVENT_USB_Device_ControlRequest(void)
}
break;
case CDC_REQ_SetControlLineState:
if (USB_ControlRequest.bmRequestType == (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_INTERFACE))
{
Endpoint_ClearSETUP();
Endpoint_ClearStatusStage();
}
break;
}
}