};\r
\r
static const char StrDescProduct[] = {\r
- 4, // Length\r
+ 9, // Length\r
0x03, // Type is string\r
'P', 0x00,\r
'M', 0x00,\r
- '3', 0x00\r
+ '3', 0x00,\r
+ 0x00\r
};\r
\r
const char* getStringDescriptor(uint8_t idx)\r
if (strDescriptor != NULL) {\r
AT91F_USB_SendData(pUdp, strDescriptor, MIN(strDescriptor[0], wLength));\r
} else {\r
- AT91F_USB_SendData(pUdp, StrDescManufacturer, MIN(sizeof(StrDescManufacturer), wLength));\r
+ AT91F_USB_SendStall(pUdp);\r
}\r
}\r
- \r
else\r
AT91F_USB_SendStall(pUdp);\r
break;\r