From 3c9375181d84d843999829deab7898e6f05b1cde Mon Sep 17 00:00:00 2001 From: Zhou Yanjie Date: Wed, 17 Jul 2019 17:10:24 +0800 Subject: [PATCH] =?UTF-8?q?usb:=20hid.c:=20=E4=BF=AE=E5=A4=8D=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E8=BF=87=E7=A8=8B=E4=B8=AD=E7=9A=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?/Fix=20compile-time=20error.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在第375行中,“uint8_t *data,”应改为“rt_uint8_t *data,”。 In line 375, "uint8_t *data," should be changed to "rt_uint8_t *data,". Signed-off-by: Zhou Yanjie --- components/drivers/usb/usbdevice/class/hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/usb/usbdevice/class/hid.c b/components/drivers/usb/usbdevice/class/hid.c index aea6d802d1..a9b2e62d70 100644 --- a/components/drivers/usb/usbdevice/class/hid.c +++ b/components/drivers/usb/usbdevice/class/hid.c @@ -372,7 +372,7 @@ const static char* _ustring[] = "Interface", }; -static void dump_data(uint8_t *data, rt_size_t size) +static void dump_data(rt_uint8_t *data, rt_size_t size) { rt_size_t i; for (i = 0; i < size; i++)