diff --git a/sw/src/usb-desc.c b/sw/src/usb-desc.c index e77741e..ce2afa6 100644 --- a/sw/src/usb-desc.c +++ b/sw/src/usb-desc.c @@ -223,7 +223,7 @@ const usb_descriptor_list_t usb_descriptor_list[] = { {0x0300, 0, (const uint8_t *)&string0}, {0x0301, 0, (const uint8_t *)&usb_string_manufacturer_name}, {0x0302, 0, (const uint8_t *)&usb_string_product_name}, - // {0x03EE, 0, (const uint8_t *)&usb_string_microsoft}, - // {0x0F00, sizeof(full_bos), (const uint8_t *)&full_bos}, + {0x03EE, 0, (const uint8_t *)&usb_string_microsoft}, + {0x0F00, sizeof(full_bos), (const uint8_t *)&full_bos}, {0, 0, NULL} }; diff --git a/sw/src/usb-dev.c b/sw/src/usb-dev.c index 9788fe8..649e211 100644 --- a/sw/src/usb-dev.c +++ b/sw/src/usb-dev.c @@ -112,7 +112,7 @@ void usb_setup(struct usb_device *dev, const struct usb_setup_request *setup) // printf("%s:%d couldn't find descriptor %04x (%d / %d)\n", __FILE__, __LINE__, setup->wValue, setup->wIndex, setup->wValue); usb_err(dev, 0); return; -#if 0 +#if 1 case (MSFT_VENDOR_CODE << 8) | 0xC0: // Get Microsoft descriptor case (MSFT_VENDOR_CODE << 8) | 0xC1: if (setup->wIndex == 0x0004)