summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-07-08 00:05:09 -0700
committerGitHub <noreply@github.com>2021-07-08 16:05:09 +0900
commitdde643925725a17a13bcbe209f54a22d66530890 (patch)
tree0c2301fd65b19e7b8289dbcd4015da42922f4aa0
parentec7a7beeed3046e9144d4c4ce0ef3b2c4f9e4341 (diff)
Fix USB Descriptor issue with Endpoints (#340)
-rw-r--r--tmk_core/protocol/usb_descriptor.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tmk_core/protocol/usb_descriptor.c b/tmk_core/protocol/usb_descriptor.c
index 4a5edb1907..71d45e5bfe 100644
--- a/tmk_core/protocol/usb_descriptor.c
+++ b/tmk_core/protocol/usb_descriptor.c
@@ -364,11 +364,8 @@ const USB_Descriptor_Device_t PROGMEM DeviceDescriptor = {
.Size = sizeof(USB_Descriptor_Device_t),
.Type = DTYPE_Device
},
-#if WEBUSB_ENABLE
- .USBSpecification = VERSION_BCD(2, 1, 0),
-#else
- .USBSpecification = VERSION_BCD(1, 1, 0),
-#endif
+ .USBSpecification = VERSION_BCD(2, 0, 0),
+
#if VIRTSER_ENABLE
.Class = USB_CSCP_IADDeviceClass,
.SubClass = USB_CSCP_IADDeviceSubclass,