remove debug change

This commit is contained in:
Proxcloud 2018-02-08 19:43:03 +08:00
commit 13c25f892e

View file

@ -555,10 +555,9 @@ void AT91F_CDC_Enumerate() {
if (strDescriptor != NULL) { if (strDescriptor != NULL) {
AT91F_USB_SendData(pUdp, strDescriptor, MIN(strDescriptor[0], wLength)); AT91F_USB_SendData(pUdp, strDescriptor, MIN(strDescriptor[0], wLength));
} else { } else {
AT91F_USB_SendData(pUdp, StrDescManufacturer, MIN(sizeof(StrDescManufacturer), wLength)); AT91F_USB_SendStall(pUdp);
} }
} }
else else
AT91F_USB_SendStall(pUdp); AT91F_USB_SendStall(pUdp);
break; break;