mihome_bridge: fix typo

This commit is contained in:
wangyz1997 2024-09-16 17:11:47 +08:00
parent c7ca3a1565
commit c8b7bc7bd5

View File

@ -17,7 +17,7 @@
#define HID_KM_INT_EP_INTERVAL 10 #define HID_KM_INT_EP_INTERVAL 10
#define HID_CONFIG_DESCRIPTOR_SIZE 34 #define HID_CONFIG_DESCRIPTOR_SIZE 34
#define HID_KM_REPORT_DESC_SIZE 187 #define HID_KM_REPORT_DESC_SIZE 185
static const uint8_t hid_descriptor[] = { static const uint8_t hid_descriptor[] = {
/* 设备(Device)描述符 所有设备有且只有一个 */ /* 设备(Device)描述符 所有设备有且只有一个 */
@ -185,7 +185,6 @@ static const uint8_t hid_km_report_desc[HID_KM_REPORT_DESC_SIZE] = {
0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position) 0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
0xC0, // End Collection 0xC0, // End Collection
0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
0x05, 0x01, // Usage Page (Generic Desktop Ctrls) 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
0x09, 0x02, // Usage (Mouse) 0x09, 0x02, // Usage (Mouse)
0xA1, 0x01, // Collection (Application) 0xA1, 0x01, // Collection (Application)