From 294223c80b3e0123f51d2420ad0d6aa4cd1b776b Mon Sep 17 00:00:00 2001 From: ZYH Date: Tue, 9 Oct 2018 11:32:41 +0800 Subject: [PATCH] =?UTF-8?q?[Components][USB]=E4=BF=AE=E5=A4=8D=E5=BD=93?= =?UTF-8?q?=E6=9C=AA=E5=BC=80=E5=90=AF=E5=A4=8D=E5=90=88=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E6=97=B6HID=E7=BC=96=E8=AF=91=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/drivers/usb/usbdevice/class/hid.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/drivers/usb/usbdevice/class/hid.c b/components/drivers/usb/usbdevice/class/hid.c index f6ed2b18da..05d98def1e 100644 --- a/components/drivers/usb/usbdevice/class/hid.c +++ b/components/drivers/usb/usbdevice/class/hid.c @@ -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,