浏览代码

Fix small typo in V-USB configuration descriptor (#11253)

Ryan 4 年之前
父节点
当前提交
e3211e307e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tmk_core/protocol/vusb/vusb.c

+ 1 - 1
tmk_core/protocol/vusb/vusb.c

@@ -680,7 +680,7 @@ const PROGMEM usbConfigurationDescriptor_t usbConfigurationDescriptor = {
         },
         },
         .bcdHID              = 0x0101,
         .bcdHID              = 0x0101,
         .bCountryCode        = 0x00,
         .bCountryCode        = 0x00,
-        .bNumDescriptors     = 2,
+        .bNumDescriptors     = 1,
         .bDescriptorType     = USBDESCR_HID_REPORT,
         .bDescriptorType     = USBDESCR_HID_REPORT,
         .wDescriptorLength   = sizeof(raw_hid_report)
         .wDescriptorLength   = sizeof(raw_hid_report)
     },
     },