提交 294223c8 编写于 作者: lymzzyh's avatar lymzzyh

[Components][USB]修复当未开启复合设备时HID编译失败

上级 df6cf9b3
......@@ -2,6 +2,8 @@
* File : hid.c
* COPYRIGHT (C) 2008 - 2016, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2017-03-13 Urey the first version
......@@ -294,9 +296,8 @@ const static struct uhid_comm_descriptor _hid_comm_desc =
USB_HID_PROTOCOL_MOUSE, /* nInterfaceProtocol : 0=none, 1=keyboard, 2=mouse */
#endif
0x00,
#endif
},
#endif
/* Interface Descriptor */
{
USB_DESC_LENGTH_INTERFACE,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册